waddie commited on
Commit
5f39b49
Β·
1 Parent(s): 7b69e96

adjusting

Browse files
Files changed (1) hide show
  1. src/main.py +9 -6
src/main.py CHANGED
@@ -17,10 +17,13 @@ from fastapi.security import APIKeyHeader
17
  import httpx
18
 
19
  # ============================================================
20
- # DEBUG CONFIGURATION
21
  # ============================================================
22
  # Set to True for detailed logging, False for minimal logging
23
- DEBUG = False
 
 
 
24
  # ============================================================
25
 
26
  def debug_print(*args, **kwargs):
@@ -1574,8 +1577,8 @@ if __name__ == "__main__":
1574
  print("=" * 60)
1575
  print("πŸš€ LMArena Bridge Server Starting...")
1576
  print("=" * 60)
1577
- print(f"πŸ“ Dashboard: http://localhost:8000/dashboard")
1578
- print(f"πŸ” Login: http://localhost:8000/login")
1579
- print(f"πŸ“š API Base URL: http://localhost:8000/api/v1")
1580
  print("=" * 60)
1581
- uvicorn.run(app, host="0.0.0.0", port=8000)
 
17
  import httpx
18
 
19
  # ============================================================
20
+ # CONFIGURATION
21
  # ============================================================
22
  # Set to True for detailed logging, False for minimal logging
23
+ DEBUG = True
24
+
25
+ # Port to run the server on
26
+ PORT = 8000
27
  # ============================================================
28
 
29
  def debug_print(*args, **kwargs):
 
1577
  print("=" * 60)
1578
  print("πŸš€ LMArena Bridge Server Starting...")
1579
  print("=" * 60)
1580
+ print(f"πŸ“ Dashboard: http://localhost:{PORT}/dashboard")
1581
+ print(f"πŸ” Login: http://localhost:{PORT}/login")
1582
+ print(f"πŸ“š API Base URL: http://localhost:{PORT}/api/v1")
1583
  print("=" * 60)
1584
+ uvicorn.run(app, host="0.0.0.0", port=PORT)