We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1d45f0 commit 8ab7b4bCopy full SHA for 8ab7b4b
app.py
@@ -99,4 +99,5 @@ def upload_predict():
99
return render_template('index.html')
100
101
if __name__ == '__main__':
102
- app.run(debug=True)
+ import os
103
+ app.run(debug=True, host='0.0.0.0', port=int(os.environ.get('PORT', 5000)))
0 commit comments