Commit
•
71f5ae7
1
Parent(s):
18c4a73
Update timeout
Browse files* set etag_timeout to 120
app.py
CHANGED
@@ -155,7 +155,7 @@ def restart():
|
|
155 |
|
156 |
def get_metadata(model_id):
|
157 |
try:
|
158 |
-
readme_path = hf_hub_download(model_id, filename="README.md")
|
159 |
return metadata_load(readme_path)
|
160 |
except requests.exceptions.HTTPError:
|
161 |
# 404 README.md not found
|
|
|
155 |
|
156 |
def get_metadata(model_id):
|
157 |
try:
|
158 |
+
readme_path = hf_hub_download(model_id, filename="README.md", etag_timeout=120)
|
159 |
return metadata_load(readme_path)
|
160 |
except requests.exceptions.HTTPError:
|
161 |
# 404 README.md not found
|