Amogh1221 commited on
Commit
918a0da
Β·
verified Β·
1 Parent(s): 648d960

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -3
main.py CHANGED
@@ -11,8 +11,6 @@ import json
11
 
12
  app = FastAPI(title="Deepcastle Engine API")
13
  from contextlib import asynccontextmanager
14
-
15
- # ─── Multiplaying / Challenge Manager ──────────────────────────────────────────
16
  class ConnectionManager:
17
  def __init__(self):
18
  # match_id -> list of websockets
@@ -507,5 +505,4 @@ async def analyze_game(request: AnalyzeRequest):
507
 
508
  if __name__ == "__main__":
509
  import uvicorn
510
- # Hugging Face Spaces port is 7860
511
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
11
 
12
  app = FastAPI(title="Deepcastle Engine API")
13
  from contextlib import asynccontextmanager
 
 
14
  class ConnectionManager:
15
  def __init__(self):
16
  # match_id -> list of websockets
 
505
 
506
  if __name__ == "__main__":
507
  import uvicorn
 
508
  uvicorn.run(app, host="0.0.0.0", port=7860)