jmorais commited on
Commit
c29330b
β€’
1 Parent(s): d07d364

New model and examples

Browse files
app.py CHANGED
@@ -18,7 +18,7 @@ def classify_img(img):
18
 
19
  image = gr.inputs.Image(shape=(192, 192))
20
  label = gr.outputs.Label()
21
- examples = ["dog.jpg", "cat.jpg", "rock1.jpg", "rock2.jpg", "rocky.jpg"]
22
 
23
  iface = gr.Interface(fn=classify_img, inputs=image, outputs=label, examples=examples)
24
  iface.launch(inline=False)
 
18
 
19
  image = gr.inputs.Image(shape=(192, 192))
20
  label = gr.outputs.Label()
21
+ examples = ['dog0.jpg', 'dog1.jpg', 'dog2.jpg', 'dog3.jpg', 'dog4.jpg', 'dog5.jpg', 'dog6.jpg', 'dog7.jpg', 'dog8.jpg', 'dog9.jpg', 'cat1.jpg', 'cat2.jpg', 'cat3.jpg', 'cat4.jpg', 'cat5.jpg', 'cat6.jpg', 'cat7.jpg', 'cat8.jpg', 'cat9.jpg']
22
 
23
  iface = gr.Interface(fn=classify_img, inputs=image, outputs=label, examples=examples)
24
  iface.launch(inline=False)
rocky.jpg β†’ cat1.jpg RENAMED
File without changes
dog.jpg β†’ cat2.jpg RENAMED
File without changes
cat.jpg β†’ cat3.jpg RENAMED
File without changes
rock1.jpg β†’ cat4.jpg RENAMED
File without changes
rock2.jpg β†’ cat5.jpg RENAMED
File without changes
cat6.jpg ADDED

Git LFS Details

  • SHA256: de7d17ba3a5a15d0294fe3447453169534085725ea4224586abe4e14b778024d
  • Pointer size: 130 Bytes
  • Size of remote file: 62.1 kB
cat7.jpg ADDED

Git LFS Details

  • SHA256: 512787dcd91cc30a4538bdec4aab5430a88ef10cc371434bceebf7d91bed85e3
  • Pointer size: 130 Bytes
  • Size of remote file: 65.7 kB
cat8.jpg ADDED

Git LFS Details

  • SHA256: 135a416cabbfa66e75893fb94d7c65dd3c6388060b09b27fe74340a259663e21
  • Pointer size: 131 Bytes
  • Size of remote file: 104 kB
cat9.jpg ADDED

Git LFS Details

  • SHA256: ea018403ae6658155f74e88f252e0909b7c59296cf19da4143ad2e17e61f72ba
  • Pointer size: 130 Bytes
  • Size of remote file: 70.3 kB
dog0.jpg ADDED

Git LFS Details

  • SHA256: b235ebb5d9ef37655de0d377b562ce509d2c6b9b6bae99f35afaee250073bd21
  • Pointer size: 130 Bytes
  • Size of remote file: 52.6 kB
dog1.jpg ADDED

Git LFS Details

  • SHA256: f389ed19e68304110addd23a1baaaf829583214a28e0a1b9dc8c14d97b06cafb
  • Pointer size: 131 Bytes
  • Size of remote file: 120 kB
dog2.jpg ADDED

Git LFS Details

  • SHA256: c1c88dccbd21dc619ad04a039b3a93497d2d0228c277eddd3b3b97da85e193ae
  • Pointer size: 130 Bytes
  • Size of remote file: 68.1 kB
dog3.jpg ADDED

Git LFS Details

  • SHA256: e362d7d786262d76582d3f267f97239655022143863a6265457417a8212e0686
  • Pointer size: 131 Bytes
  • Size of remote file: 111 kB
dog4.jpg ADDED

Git LFS Details

  • SHA256: 5be78e3ea79945c95037b99fa46ea979aa86cfc8fdcc3eefef821b15dee1bb88
  • Pointer size: 130 Bytes
  • Size of remote file: 46.5 kB
dog5.jpg ADDED

Git LFS Details

  • SHA256: ccf9213b57848a65d53ea6ea3ca52de184cbdb18f4f62227b5eebbe652396a6a
  • Pointer size: 130 Bytes
  • Size of remote file: 58.3 kB
dog6.jpg ADDED

Git LFS Details

  • SHA256: a43c5cb98590fabed66781a82626d6bebc49fedbbaef016907b884faf387205a
  • Pointer size: 130 Bytes
  • Size of remote file: 43.3 kB
dog7.jpg ADDED

Git LFS Details

  • SHA256: 3e224805caaea6386ff358922453dfc8506ec532bd961bff9b68e00b5db96b44
  • Pointer size: 130 Bytes
  • Size of remote file: 86.5 kB
dog8.jpg ADDED

Git LFS Details

  • SHA256: ec3876d33a797dc240fd10341611df2ce06f26ca107eaf848aedcbf5cb19ab76
  • Pointer size: 130 Bytes
  • Size of remote file: 20.9 kB
dog9.jpg ADDED

Git LFS Details

  • SHA256: 4180a3345c9c896f16077b2e1c3fec40f19bce2671e03f3e784076292284d3a4
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
model.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b12393ceb9378d64c4cd55746a2d0f5b3c7ce552d68d1266f974c61f590a7118
3
- size 46995169
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfa22c497d3057a1affe2242a431f9c89101f3c7da8a0ad4d9741ac64d01da10
3
+ size 114611049