xjyplayer uploaded at 2024-03-24 17:33:16
Browse files- test4/huggingface.py +1 -1
test4/huggingface.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import HfApi, list_models
|
|
| 4 |
from huggingface_hub.utils import HfHubHTTPError, RepositoryNotFoundError, RevisionNotFoundError
|
| 5 |
from huggingface_hub.hf_api import RepoFile, RepoFolder
|
| 6 |
import os
|
| 7 |
-
os.environ['NO_PROXY'] = 'localhost, 127.0.0.1, ::1, ip.cn, chinaz.com, 192.168.0.0/16, mirrors.cloud.aliyuncs.com, hf-mirror.com'
|
| 8 |
|
| 9 |
import re
|
| 10 |
import json
|
|
|
|
| 4 |
from huggingface_hub.utils import HfHubHTTPError, RepositoryNotFoundError, RevisionNotFoundError
|
| 5 |
from huggingface_hub.hf_api import RepoFile, RepoFolder
|
| 6 |
import os
|
| 7 |
+
os.environ['NO_PROXY'] = 'localhost, 127.0.0.1, ::1, ip.cn, chinaz.com, 192.168.0.0/16, mirrors.cloud.aliyuncs.com, hf-mirror.com, s3.us-east-1.amazonaws.com, lfs.huggingface.co'
|
| 8 |
|
| 9 |
import re
|
| 10 |
import json
|