Update
Browse files- gradio_helpers.py +1 -1
gradio_helpers.py
CHANGED
@@ -83,7 +83,7 @@ def _do_download():
|
|
83 |
_done[name] = None
|
84 |
else:
|
85 |
try:
|
86 |
-
_done[name] = (huggingface_hub.hf_hub_download(repo_id=repo, filename=filename, revision=revision) for filename in filenames)
|
87 |
except Exception as e: # pylint: disable=broad-exception-caught
|
88 |
logging.exception('Could not download "%s" from hub!', name)
|
89 |
_failed[name] = str(e)
|
|
|
83 |
_done[name] = None
|
84 |
else:
|
85 |
try:
|
86 |
+
_done[name] = tuple(huggingface_hub.hf_hub_download(repo_id=repo, filename=filename, revision=revision) for filename in filenames)
|
87 |
except Exception as e: # pylint: disable=broad-exception-caught
|
88 |
logging.exception('Could not download "%s" from hub!', name)
|
89 |
_failed[name] = str(e)
|