Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,9 +73,9 @@ import os
|
|
73 |
|
74 |
|
75 |
# With this updated version:
|
76 |
-
from huggingface_hub import configure_http_backend
|
77 |
-
from huggingface_hub.http import httpx_backend # Explicit backend import
|
78 |
-
configure_http_backend(factory=httpx_backend.factory) # Correct argument [huggingface.co](https://huggingface.co/docs/huggingface_hub/en/guides/http#http-backends)
|
79 |
|
80 |
|
81 |
# Set environment variables before other imports
|
|
|
73 |
|
74 |
|
75 |
# With this updated version:
|
76 |
+
#from huggingface_hub import configure_http_backend
|
77 |
+
#from huggingface_hub.http import httpx_backend # Explicit backend import
|
78 |
+
#configure_http_backend(factory=httpx_backend.factory) # Correct argument [huggingface.co](https://huggingface.co/docs/huggingface_hub/en/guides/http#http-backends)
|
79 |
|
80 |
|
81 |
# Set environment variables before other imports
|