Upload application

Basic config and index page
This commit is contained in:
Diego Inácio
2020-01-30 16:43:22 -03:00
parent 0b595c9d0d
commit 699dcaf2b7

17
application.py Normal file
View File

@ -0,0 +1,17 @@
from flask import Flask, render_template, request
from flask_bootstrap import Bootstrap
application = Flask(__name__)
Bootstrap(application)
@application.route('/')
@application.route('/index.html')
def home():
TITLE = 'Object detection'
return render_template('index.html', TITLE=TITLE)
if __name__ == '__main__':
application.run(debug=True)