Spaces:
Runtime error
Runtime error
Commit ·
026906f
1
Parent(s): 511bdf3
fix a bug in backend.py
Browse files- src/backend.py +1 -0
src/backend.py
CHANGED
|
@@ -139,6 +139,7 @@ def pull_search_results(
|
|
| 139 |
print("Start to pull new search results ...")
|
| 140 |
while True:
|
| 141 |
os.makedirs(ZIP_CACHE_DIR, exist_ok=True)
|
|
|
|
| 142 |
try:
|
| 143 |
API.snapshot_download(
|
| 144 |
repo_id=RESULTS_REPO,
|
|
|
|
| 139 |
print("Start to pull new search results ...")
|
| 140 |
while True:
|
| 141 |
os.makedirs(ZIP_CACHE_DIR, exist_ok=True)
|
| 142 |
+
os.makedirs(unzip_target_dir, exist_ok=True)
|
| 143 |
try:
|
| 144 |
API.snapshot_download(
|
| 145 |
repo_id=RESULTS_REPO,
|