Spaces:
Sleeping
Sleeping
shakesbeardz
commited on
Commit
•
4722acd
1
Parent(s):
42a56da
Added new images and updated code
Browse files- .gitattributes +1 -0
- app.py +5 -13
- examples/Acropora-gemmifera.jpg +3 -0
- examples/Acropora_millepora.jpg +3 -0
- examples/Fungia_concinna.jpg +3 -0
- examples/porities_lobata.jpg +3 -0
.gitattributes
CHANGED
@@ -35,6 +35,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
*.json filter=lfs diff=lfs merge=lfs -text
|
37 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
|
|
38 |
*.png filter=lfs diff=lfs merge=lfs -text
|
39 |
components/metadata.csv filter=lfs diff=lfs merge=lfs -text
|
40 |
txt_emb_species.json filter=lfs diff=lfs merge=lfs -text
|
|
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
*.json filter=lfs diff=lfs merge=lfs -text
|
37 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
*.png filter=lfs diff=lfs merge=lfs -text
|
40 |
components/metadata.csv filter=lfs diff=lfs merge=lfs -text
|
41 |
txt_emb_species.json filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -52,11 +52,12 @@ preprocess_img = transforms.Compose(
|
|
52 |
ranks = ("Kingdom", "Phylum", "Class", "Order", "Family", "Genus", "Species")
|
53 |
|
54 |
open_domain_examples = [
|
55 |
-
["examples/
|
56 |
-
["examples/
|
57 |
["examples/Felis-catus.jpeg", "Genus"],
|
58 |
-
["examples/
|
59 |
]
|
|
|
60 |
zero_shot_examples = [
|
61 |
[
|
62 |
"examples/Ursus-arctos.jpeg",
|
@@ -323,15 +324,6 @@ if __name__ == "__main__":
|
|
323 |
outputs=zero_shot_output,
|
324 |
)
|
325 |
|
326 |
-
|
327 |
-
gr.Markdown(
|
328 |
-
"""
|
329 |
-
For more information on the [BioCLIP Model](https://huggingface.co/imageomics/bioclip) creation, see our [BioCLIP Project GitHub](https://github.com/Imageomics/bioclip), and
|
330 |
-
for easier integration of BioCLIP, checkout [pybioclip](https://github.com/Imageomics/pybioclip).
|
331 |
-
|
332 |
-
To learn more about the data, check out our [TreeOfLife-10M Dataset](https://huggingface.co/datasets/imageomics/TreeOfLife-10M).
|
333 |
-
"""
|
334 |
-
)
|
335 |
-
|
336 |
app.queue(max_size=20)
|
337 |
app.launch(share=True)
|
|
|
52 |
ranks = ("Kingdom", "Phylum", "Class", "Order", "Family", "Genus", "Species")
|
53 |
|
54 |
open_domain_examples = [
|
55 |
+
["examples/Acropora-gemmifera.jpg", "Species"],
|
56 |
+
["examples/Acropora_millepora.jpeg", "Species"],
|
57 |
["examples/Felis-catus.jpeg", "Genus"],
|
58 |
+
["examples/porities_lobata.jpg", "Species"],
|
59 |
]
|
60 |
+
|
61 |
zero_shot_examples = [
|
62 |
[
|
63 |
"examples/Ursus-arctos.jpeg",
|
|
|
324 |
outputs=zero_shot_output,
|
325 |
)
|
326 |
|
327 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
app.queue(max_size=20)
|
329 |
app.launch(share=True)
|
examples/Acropora-gemmifera.jpg
ADDED
Git LFS Details
|
examples/Acropora_millepora.jpg
ADDED
Git LFS Details
|
examples/Fungia_concinna.jpg
ADDED
Git LFS Details
|
examples/porities_lobata.jpg
ADDED
Git LFS Details
|