Spaces:
Sleeping
Sleeping
Upload main.py
Browse files
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
|
| 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("/")
|