fransb14 commited on
Commit
b6139e3
1 Parent(s): cb90eee

examples added

Browse files
Files changed (4) hide show
  1. app.py +2 -2
  2. cat.jpg +0 -0
  3. catdog.jpg +0 -0
  4. dog.jpg +0 -0
app.py CHANGED
@@ -13,7 +13,7 @@ def classifiy_image(img):
13
 
14
  image = gr.inputs.Image(shape=(192,192))
15
  label = gr.outputs.Label()
16
- #examples
17
 
18
- iface = gr.Interface(fn=classifiy_image, inputs=image, outputs=label,title="🐶 Dog vs 😺 Cat Recognizer")
19
  iface.launch()
 
13
 
14
  image = gr.inputs.Image(shape=(192,192))
15
  label = gr.outputs.Label()
16
+ examples = ['dog.jpg', 'cat.jpg', 'catdog.jpg']
17
 
18
+ iface = gr.Interface(fn=classifiy_image, inputs=image, outputs=label,title="🐶 Dog vs Cat 😺 Recognizer",examples=examples)
19
  iface.launch()
cat.jpg ADDED
catdog.jpg ADDED
dog.jpg ADDED