Spaces:
Runtime error
Runtime error
Commit
Β·
3ae8594
1
Parent(s):
476cf8d
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ def classify_image(img):
|
|
25 |
# %% app.ipynb 4
|
26 |
image=gr.inputs.Image(shape=(512,512))
|
27 |
label=gr.outputs.Label()
|
28 |
-
examples=['
|
29 |
-
,'
|
30 |
|
31 |
interface=gr.Interface(fn=classify_image, inputs=image ,outputs=label,examples=examples)
|
32 |
interface.launch(inline=False)
|
|
|
25 |
# %% app.ipynb 4
|
26 |
image=gr.inputs.Image(shape=(512,512))
|
27 |
label=gr.outputs.Label()
|
28 |
+
examples=['1.jpeg', '2.jpg', '3.png','a.jpg','b.jpg'
|
29 |
+
,'c.jpg','d.jpg','e.jpg','f.jpg']
|
30 |
|
31 |
interface=gr.Interface(fn=classify_image, inputs=image ,outputs=label,examples=examples)
|
32 |
interface.launch(inline=False)
|