Gustavoch commited on
Commit
e9b0806
·
1 Parent(s): a36b122

add example images

Browse files
Files changed (4) hide show
  1. app.py +1 -1
  2. black.png +3 -0
  3. grizzly.png +3 -0
  4. teddy.png +3 -0
app.py CHANGED
@@ -22,5 +22,5 @@ def classify_image(img):
22
  # label = gr.outputs.Label()
23
  examples = ['grizzly.png', 'black.png', 'teddy.png']
24
 
25
- intf = gr.Interface(fn=classify_image, inputs="image", outputs="label")
26
  intf.launch(inline=False)
 
22
  # label = gr.outputs.Label()
23
  examples = ['grizzly.png', 'black.png', 'teddy.png']
24
 
25
+ intf = gr.Interface(fn=classify_image, inputs="image", outputs="label", examples=examples)
26
  intf.launch(inline=False)
black.png ADDED

Git LFS Details

  • SHA256: 44891ea2d0e4b3348d2fa3dc344dbe4df4dccc8fe79909e22a14dcd3f62e57e2
  • Pointer size: 132 Bytes
  • Size of remote file: 9.84 MB
grizzly.png ADDED

Git LFS Details

  • SHA256: 49fd42a249287f12cdd9aa379453598894121a364faac6b4ff8f1fe8903fe0fb
  • Pointer size: 132 Bytes
  • Size of remote file: 1.69 MB
teddy.png ADDED

Git LFS Details

  • SHA256: d571bf12b33572d7be3d52eeff366a34a4e6b0037265e0d51e64d68edf5e8694
  • Pointer size: 132 Bytes
  • Size of remote file: 2.31 MB