Spaces:
Sleeping
Sleeping
Daniel kiani
commited on
updated path at app.py
Browse files- scripts/app.py +2 -1
scripts/app.py
CHANGED
|
@@ -47,7 +47,8 @@ def load_artifacts():
|
|
| 47 |
for filename in files_to_download:
|
| 48 |
hf_hub_download(
|
| 49 |
repo_id=DATA_REPO_ID,
|
| 50 |
-
|
|
|
|
| 51 |
local_dir=".", # Download to the root of the Space
|
| 52 |
repo_type="dataset"
|
| 53 |
)
|
|
|
|
| 47 |
for filename in files_to_download:
|
| 48 |
hf_hub_download(
|
| 49 |
repo_id=DATA_REPO_ID,
|
| 50 |
+
# FIX: Update the path to match the nested directory structure on the Hub
|
| 51 |
+
filename=f"data/RetailRocket-Recommender-Data/data/{filename}",
|
| 52 |
local_dir=".", # Download to the root of the Space
|
| 53 |
repo_type="dataset"
|
| 54 |
)
|