Spaces:
Sleeping
Sleeping
Upload app.py
Browse files- 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,
|
|
|
|
| 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(
|