fix: correct AMD_INFERENCE_URL path to include /proxy/8000 for Jupyter compatibility
Browse files- backend/agents.py +1 -1
- hf_space/agents.py +1 -1
backend/agents.py
CHANGED
|
@@ -19,7 +19,7 @@ import httpx # async HTTP — lightweight, no extra deps beyond requirements
|
|
| 19 |
# Or use the Jupyter proxy route: http://165.245.143.46/proxy/8000
|
| 20 |
AMD_INFERENCE_URL = os.environ.get(
|
| 21 |
"AMD_INFERENCE_URL",
|
| 22 |
-
"http://129.212.189.214"
|
| 23 |
).rstrip("/")
|
| 24 |
|
| 25 |
# Token for the AMD inference server (if required)
|
|
|
|
| 19 |
# Or use the Jupyter proxy route: http://165.245.143.46/proxy/8000
|
| 20 |
AMD_INFERENCE_URL = os.environ.get(
|
| 21 |
"AMD_INFERENCE_URL",
|
| 22 |
+
"http://129.212.189.214/proxy/8000"
|
| 23 |
).rstrip("/")
|
| 24 |
|
| 25 |
# Token for the AMD inference server (if required)
|
hf_space/agents.py
CHANGED
|
@@ -19,7 +19,7 @@ import httpx # async HTTP — lightweight, no extra deps beyond requirements
|
|
| 19 |
# Or use the Jupyter proxy route: http://165.245.143.46/proxy/8000
|
| 20 |
AMD_INFERENCE_URL = os.environ.get(
|
| 21 |
"AMD_INFERENCE_URL",
|
| 22 |
-
"http://129.212.189.214"
|
| 23 |
).rstrip("/")
|
| 24 |
|
| 25 |
# Token for the AMD inference server (if required)
|
|
|
|
| 19 |
# Or use the Jupyter proxy route: http://165.245.143.46/proxy/8000
|
| 20 |
AMD_INFERENCE_URL = os.environ.get(
|
| 21 |
"AMD_INFERENCE_URL",
|
| 22 |
+
"http://129.212.189.214/proxy/8000"
|
| 23 |
).rstrip("/")
|
| 24 |
|
| 25 |
# Token for the AMD inference server (if required)
|