arsh1101 commited on
Commit
10cff2d
·
verified ·
1 Parent(s): f7ef5f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ import os
20
  from sentinelhub import SHConfig
21
 
22
  if __name__ == "__main__":
23
- port = int(os.environ.get("PORT", 8000))
24
- uvicorn.run("app:app", host="0.0.0.0", port=port)
25
 
26
  # If you want to point directly to a file:
27
  # config = SHConfig(config_location=CONFIG_FILE)
 
20
  from sentinelhub import SHConfig
21
 
22
  if __name__ == "__main__":
23
+ port = int(os.environ.get("PORT", 7860))
24
+ uvicorn.run(app, host="0.0.0.0", port=port)
25
 
26
  # If you want to point directly to a file:
27
  # config = SHConfig(config_location=CONFIG_FILE)