Spaces:
Runtime error
Runtime error
Kamran Soomro
commited on
Commit
•
e07a436
1
Parent(s):
a694fad
Added app and examples
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def classify_image(img):
|
|
13 |
|
14 |
image = gr.inputs.Image(shape=(192, 192))
|
15 |
label = gr.outputs.Label()
|
16 |
-
examples = [
|
17 |
|
18 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
19 |
intf.launch(inline=False, share=False)
|
|
|
13 |
|
14 |
image = gr.inputs.Image(shape=(192, 192))
|
15 |
label = gr.outputs.Label()
|
16 |
+
examples = ["dog.jpg", "cat.jpg", "dunno.jpg"]
|
17 |
|
18 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
19 |
intf.launch(inline=False, share=False)
|
cat.jpg
ADDED
dog.jpg
ADDED
dunno.jpg
ADDED