qdqd commited on
Commit
36d15e8
Β·
verified Β·
1 Parent(s): 2fea077

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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