Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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", etag_timeout=
|
| 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=180)
|
| 159 |
return metadata_load(readme_path)
|
| 160 |
except requests.exceptions.HTTPError:
|
| 161 |
# 404 README.md not found
|