ThomasSimonini HF staff commited on
Commit
7a4e68d
1 Parent(s): 71f5ae7

Update app.py

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