carlosh93 commited on
Commit
3965228
·
1 Parent(s): 440a275

fixing snapshot_download issue

Browse files
Files changed (1) hide show
  1. 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}/*", # f"**/{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: