KroZenDev commited on
Commit
9d11515
·
verified ·
1 Parent(s): 157c205

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,4 +34,5 @@ def upscale_image():
34
  )
35
 
36
  if __name__ == "__main__":
37
- app.run(host="0.0.0.0", port=6275)
 
 
34
  )
35
 
36
  if __name__ == "__main__":
37
+ port = int(os.environ.get("PORT", 7860))
38
+ app.run(host="0.0.0.0", port=port)