Spaces:
Runtime error
Runtime error
shakesbeardz
commited on
Commit
·
a9697b4
1
Parent(s):
82fcd7a
updated bioclip
Browse files- .gitignore +3 -1
- app.py +5 -1
.gitignore
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
.venv/
|
| 2 |
__pycache__/
|
| 3 |
|
| 4 |
-
.DS_Store
|
|
|
|
|
|
|
|
|
| 1 |
.venv/
|
| 2 |
__pycache__/
|
| 3 |
|
| 4 |
+
.DS_Store
|
| 5 |
+
|
| 6 |
+
test.py
|
app.py
CHANGED
|
@@ -27,9 +27,13 @@ METADATA_PATH = "components/metadata.csv"
|
|
| 27 |
metadata_df = pl.read_csv(METADATA_PATH, low_memory = False)
|
| 28 |
metadata_df = metadata_df.with_columns(pl.col("eol_page_id").cast(pl.Int64))
|
| 29 |
|
| 30 |
-
model_str = "hf-hub:
|
| 31 |
tokenizer_str = "ViT-B-16"
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
txt_emb_npy = "txt_emb_species.npy"
|
| 34 |
txt_names_json = "txt_emb_species.json"
|
| 35 |
|
|
|
|
| 27 |
metadata_df = pl.read_csv(METADATA_PATH, low_memory = False)
|
| 28 |
metadata_df = metadata_df.with_columns(pl.col("eol_page_id").cast(pl.Int64))
|
| 29 |
|
| 30 |
+
model_str = "hf-hub:ReefNet/finetuned-bioclip"
|
| 31 |
tokenizer_str = "ViT-B-16"
|
| 32 |
|
| 33 |
+
|
| 34 |
+
# ReefNet/finetuned-bioclip
|
| 35 |
+
|
| 36 |
+
|
| 37 |
txt_emb_npy = "txt_emb_species.npy"
|
| 38 |
txt_names_json = "txt_emb_species.json"
|
| 39 |
|