arsh1101 commited on
Commit
648b637
·
verified ·
1 Parent(s): fcee632

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ from fastapi.middleware.cors import CORSMiddleware
26
  from sentinelhub import SHConfig
27
 
28
  if __name__ == "__main__":
29
- port = int(os.environ.get("PORT", 8000))
30
- uvicorn.run("app:app", host="0.0.0.0", port=port)
31
 
32
  # If you want to point directly to a file:
33
  # config = SHConfig(config_location=CONFIG_FILE)
 
26
  from sentinelhub import SHConfig
27
 
28
  if __name__ == "__main__":
29
+ port = int(os.environ.get("PORT", 7860))
30
+ uvicorn.run(app, host="0.0.0.0", port=port)
31
 
32
  # If you want to point directly to a file:
33
  # config = SHConfig(config_location=CONFIG_FILE)