Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ from io import BytesIO
|
|
12 |
|
13 |
|
14 |
# download model and dataset
|
15 |
-
hf_hub_download("merve/siglip-faiss-wikiart", "
|
16 |
-
hf_hub_download("merve/siglip-faiss-wikiart", "
|
17 |
|
18 |
# read index, dataset and load siglip model and processor
|
19 |
index = faiss.read_index("./siglip_10k.index")
|
|
|
12 |
|
13 |
|
14 |
# download model and dataset
|
15 |
+
hf_hub_download("merve/siglip-faiss-wikiart", "siglip_10k_latest.index", local_dir="./")
|
16 |
+
hf_hub_download("merve/siglip-faiss-wikiart", "wikiart_10k_latest.csv", local_dir="./")
|
17 |
|
18 |
# read index, dataset and load siglip model and processor
|
19 |
index = faiss.read_index("./siglip_10k.index")
|