Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,6 +70,15 @@ try:
|
|
| 70 |
except Exception:
|
| 71 |
restart_space()
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
print("End Space initialisation ")
|
| 74 |
|
| 75 |
|
|
|
|
| 70 |
except Exception:
|
| 71 |
restart_space()
|
| 72 |
|
| 73 |
+
print("RESULTS_REPO_MIB_CAUSALGRAPH")
|
| 74 |
+
try:
|
| 75 |
+
print(RESULTS_REPO_MIB_CAUSALGRAPH)
|
| 76 |
+
snapshot_download(
|
| 77 |
+
repo_id=RESULTS_REPO_MIB_CAUSALGRAPH, local_dir=EVAL_RESULTS_MIB_CAUSALGRAPH_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30, token=TOKEN
|
| 78 |
+
)
|
| 79 |
+
except Exception:
|
| 80 |
+
restart_space()
|
| 81 |
+
|
| 82 |
print("End Space initialisation ")
|
| 83 |
|
| 84 |
|