f64 commited on
Commit
b28d38f
·
1 Parent(s): adce439
my_static_methods.py CHANGED
@@ -90,7 +90,7 @@ def load_dataframes_from_hf(repo: HfRepo, lstCsvFiles: list[str] = []) -> {str,
90
  ### https://huggingface.co/docs/huggingface_hub/en/guides/hf_file_system
91
  def list_files_hf(repo: HfRepo) -> list[str]:
92
  """ List CSV and ZIP files in HF repo """
93
- fs = huggingface_hub.HfFileSystem(token=repo.token) #, use_listings_cache=False) # , skip_instance_cache=True
94
  path_hf = f"{repo.repo_type}s/{repo.repo_id}/"
95
  #lst = fs.ls(path_hf, detail=False)
96
  lstGlob = fs.glob(path_hf + "**") # map(os.path.basename, lstGlob)
 
90
  ### https://huggingface.co/docs/huggingface_hub/en/guides/hf_file_system
91
  def list_files_hf(repo: HfRepo) -> list[str]:
92
  """ List CSV and ZIP files in HF repo """
93
+ fs = huggingface_hub.HfFileSystem(token=repo.token, use_listings_cache=False) # , skip_instance_cache=True
94
  path_hf = f"{repo.repo_type}s/{repo.repo_id}/"
95
  #lst = fs.ls(path_hf, detail=False)
96
  lstGlob = fs.glob(path_hf + "**") # map(os.path.basename, lstGlob)
pages/{6_TECT_7_ID.py → 2_TECT_7_ID.py} RENAMED
File without changes