Vadashuk commited on
Commit
cdb1ed1
·
verified ·
1 Parent(s): 9fd5ecd

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -8,7 +8,7 @@ from slowapi.middleware import SlowAPIMiddleware
8
 
9
  # --- Public config ---
10
  # Hardcoded demo upstream URL (no secret/env needed).
11
- UPSTREAM_URL = "https://vadashuk-datfid-api-demo.hf.space"
12
  DEMO_FORWARD_URL = os.getenv("DEMO_FORWARD_URL", "").rstrip("/") # optional demo-only backend (unused in hackathon flow)
13
  # This Space's public URL (used to ping self while waiting so HF does not put this Space to sleep). Override with SELF_URL env if different.
14
  SELF_URL = os.getenv("SELF_URL", "https://vadashuk-datfid-master.hf.space").rstrip("/")
 
8
 
9
  # --- Public config ---
10
  # Hardcoded demo upstream URL (no secret/env needed).
11
+ UPSTREAM_URL = "https://vadashuk-datfid-api.hf.space"
12
  DEMO_FORWARD_URL = os.getenv("DEMO_FORWARD_URL", "").rstrip("/") # optional demo-only backend (unused in hackathon flow)
13
  # This Space's public URL (used to ping self while waiting so HF does not put this Space to sleep). Override with SELF_URL env if different.
14
  SELF_URL = os.getenv("SELF_URL", "https://vadashuk-datfid-master.hf.space").rstrip("/")