Daniel kiani commited on
Commit
6e6c6a9
·
verified ·
1 Parent(s): 66ca941

updated path at app.py

Browse files
Files changed (1) hide show
  1. 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
- filename=f"data/{filename}", # Path within the dataset repo
 
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
  )