42Cummer commited on
Commit
066e30c
·
verified ·
1 Parent(s): 209ebac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -389,6 +389,6 @@ def seek():
389
  def health_check():
390
  return 'Backend is running!', 200
391
 
392
- if __name__ == '__main__':
393
- #app.run(debug=True, port=4999)
394
- app.run(debug=True, port=5000)
 
389
  def health_check():
390
  return 'Backend is running!', 200
391
 
392
+ if __name__ == "__main__":
393
+ port = int(os.environ.get("PORT", 7860))
394
+ app.run(host="0.0.0.0", port=port, debug=False)