Spaces:
Paused
Paused
Update restore.py
Browse files- restore.py +1 -1
restore.py
CHANGED
|
@@ -3,7 +3,7 @@ import os, subprocess
|
|
| 3 |
def restore_workspace():
|
| 4 |
repo_id = os.environ.get("BACKUP_REPO")
|
| 5 |
hf_token = os.environ.get("HF_TOKEN")
|
| 6 |
-
repo_type = "
|
| 7 |
|
| 8 |
if not repo_id or not hf_token:
|
| 9 |
print("❌ BACKUP_REPO or HF_TOKEN missing, skipping restore")
|
|
|
|
| 3 |
def restore_workspace():
|
| 4 |
repo_id = os.environ.get("BACKUP_REPO")
|
| 5 |
hf_token = os.environ.get("HF_TOKEN")
|
| 6 |
+
repo_type = "dataset"
|
| 7 |
|
| 8 |
if not repo_id or not hf_token:
|
| 9 |
print("❌ BACKUP_REPO or HF_TOKEN missing, skipping restore")
|