TheAarvee05 commited on
Commit
7f499e6
·
verified ·
1 Parent(s): 5b79d6d

Upload server/app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. server/app.py +2 -2
server/app.py CHANGED
@@ -276,10 +276,10 @@ def delete_session(session_id: str) -> dict:
276
 
277
  def main() -> None:
278
  host = os.getenv("HOST", "0.0.0.0")
279
- port = int(os.getenv("PORT", "8000"))
280
  # Use the in-process app object so direct execution via python server/app.py works.
281
  uvicorn.run(app, host=host, port=port, reload=False)
282
 
283
 
284
  if __name__ == "__main__":
285
- main()
 
276
 
277
  def main() -> None:
278
  host = os.getenv("HOST", "0.0.0.0")
279
+ port = int(os.getenv("PORT", "7860"))
280
  # Use the in-process app object so direct execution via python server/app.py works.
281
  uvicorn.run(app, host=host, port=port, reload=False)
282
 
283
 
284
  if __name__ == "__main__":
285
+ main()