starfriend commited on
Commit
00afdb6
·
verified ·
1 Parent(s): 89895a7

Upload app.py

Browse files
Files changed (1) hide show
  1. metadata_search/app.py +2 -1
metadata_search/app.py CHANGED
@@ -20,7 +20,8 @@ def _bootstrap_search_data() -> None:
20
  if os.getenv("WATERSCOPE_DATA_BOOTSTRAP", "1").lower() not in {"1", "true", "yes"}:
21
  return
22
 
23
- from huggingface_hub import HfApi, RepoFile, hf_hub_download
 
24
  from time import monotonic
25
 
26
  repo_id = os.getenv(
 
20
  if os.getenv("WATERSCOPE_DATA_BOOTSTRAP", "1").lower() not in {"1", "true", "yes"}:
21
  return
22
 
23
+ from huggingface_hub import HfApi, hf_hub_download
24
+ from huggingface_hub.hf_api import RepoFile
25
  from time import monotonic
26
 
27
  repo_id = os.getenv(