fransb14
commited on
Commit
•
b6139e3
1
Parent(s):
cb90eee
examples added
Browse files
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 |
-
|
17 |
|
18 |
-
iface = gr.Interface(fn=classifiy_image, inputs=image, outputs=label,title="🐶 Dog vs 😺
|
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