rasAli02 commited on
Commit
31f9afb
·
1 Parent(s): 53c2478

fix: correct AMD_INFERENCE_URL path to include /proxy/8000 for Jupyter compatibility

Browse files
Files changed (2) hide show
  1. backend/agents.py +1 -1
  2. 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)