Files
object-detection-flask-opencv/application.py
Diego Inácio 699dcaf2b7 Upload application
Basic config and index page
2020-01-30 16:43:22 -03:00

18 lines
361 B
Python

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)