Commit 4b7d9a2b authored by Nuno's avatar Nuno
Browse files

flask_production_waitress

parent 9690fbbd
Pipeline #846 passed with stage
in 37 minutes and 11 seconds
......@@ -139,4 +139,5 @@ def predict():
if __name__ == '__main__':
#app.run(debug=True)
app.run(host='0.0.0.0', port=5000, use_reloader=False)
from waitress import serve
serve(app, host='0.0.0.0', port=5000)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment