shakesbeardz commited on
Commit
4722acd
1 Parent(s): 42a56da

Added new images and updated code

Browse files
.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/Ursus-arctos.jpeg", "Species"],
56
- ["examples/Phoca-vitulina.png", "Species"],
57
  ["examples/Felis-catus.jpeg", "Genus"],
58
- ["examples/Sarcoscypha-coccinea.jpeg", "Order"],
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
- # Footer to point out to model and data from app page.
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

  • SHA256: 358530fa157ba6a4dfb7f4ece7ab26bb0ca8883775de3177fdbf0665a25c3bae
  • Pointer size: 131 Bytes
  • Size of remote file: 283 kB
examples/Acropora_millepora.jpg ADDED

Git LFS Details

  • SHA256: 67eda0336f9234a0a03eb393fd7b8d8eae28afb94fce384312b36e3a1094bdef
  • Pointer size: 131 Bytes
  • Size of remote file: 870 kB
examples/Fungia_concinna.jpg ADDED

Git LFS Details

  • SHA256: e13a631a72ba2779dca0a622a7c9c3289af80b274069448dfa70496b17226b5b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.11 MB
examples/porities_lobata.jpg ADDED

Git LFS Details

  • SHA256: 1590e4dc33b00713f6297c3bc7f2bd3269be07f683ac735519e710cdb9466813
  • Pointer size: 131 Bytes
  • Size of remote file: 755 kB