Spaces:
Runtime error
Runtime error
minhopark-neubla
commited on
Commit
•
fc57036
1
Parent(s):
b24d491
Change snapshot_download parameters
Browse files
app.py
CHANGED
@@ -48,7 +48,12 @@ def init_space():
|
|
48 |
try:
|
49 |
print(EVAL_RESULTS_PATH)
|
50 |
snapshot_download(
|
51 |
-
repo_id=RESULTS_REPO,
|
|
|
|
|
|
|
|
|
|
|
52 |
)
|
53 |
except Exception as e:
|
54 |
print(e)
|
|
|
48 |
try:
|
49 |
print(EVAL_RESULTS_PATH)
|
50 |
snapshot_download(
|
51 |
+
repo_id=RESULTS_REPO,
|
52 |
+
local_dir=EVAL_RESULTS_PATH,
|
53 |
+
repo_type="dataset",
|
54 |
+
tqdm_class=None,
|
55 |
+
etag_timeout=60,
|
56 |
+
resume_download=True,
|
57 |
)
|
58 |
except Exception as e:
|
59 |
print(e)
|