Spaces:
Running
on
T4
Running
on
T4
fixing snapshot_download issue
Browse files- logic/handlers.py +1 -1
logic/handlers.py
CHANGED
|
@@ -192,7 +192,7 @@ def update_user_data(client , country, language_choice, HF_DATASET_NAME, local_d
|
|
| 192 |
repo_id=HF_DATASET_NAME,
|
| 193 |
repo_type="dataset",
|
| 194 |
local_dir=local_ds_directory_path, # Your target local directory
|
| 195 |
-
allow_patterns=f"{country}/{language_choice}/{username}/*",
|
| 196 |
token=HF_API_TOKEN
|
| 197 |
)
|
| 198 |
except Exception as e:
|
|
|
|
| 192 |
repo_id=HF_DATASET_NAME,
|
| 193 |
repo_type="dataset",
|
| 194 |
local_dir=local_ds_directory_path, # Your target local directory
|
| 195 |
+
allow_patterns=f"logged_in_users/{country}/{language_choice}/{username}/*",
|
| 196 |
token=HF_API_TOKEN
|
| 197 |
)
|
| 198 |
except Exception as e:
|