Skip to content

Commit 8ab7b4b

Browse files
authored
Update app.py
1 parent f1d45f0 commit 8ab7b4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,5 @@ def upload_predict():
9999
return render_template('index.html')
100100

101101
if __name__ == '__main__':
102-
app.run(debug=True)
102+
import os
103+
app.run(debug=True, host='0.0.0.0', port=int(os.environ.get('PORT', 5000)))

0 commit comments

Comments
 (0)