Commit ·
3935268
1
Parent(s): 97f1e8f
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,8 @@ def classify_image(img):
|
|
| 30 |
# %% app.ipynb 4
|
| 31 |
image=gr.inputs.Image(shape=(512,512))
|
| 32 |
label=gr.outputs.Label()
|
| 33 |
-
examples=['1.jpeg', '2.jpg', '3.png','a.jpg','b.jpg','c.jpg','d.jpg','e.jpg','f.jpg']
|
| 34 |
-
|
| 35 |
interface=gr.Interface(fn=classify_image, inputs=image ,outputs=label,examples=examples)
|
| 36 |
interface.launch(inline=False)
|
| 37 |
|
|
|
|
| 30 |
# %% app.ipynb 4
|
| 31 |
image=gr.inputs.Image(shape=(512,512))
|
| 32 |
label=gr.outputs.Label()
|
| 33 |
+
#examples=['1.jpeg', '2.jpg', '3.png','a.jpg','b.jpg','c.jpg','d.jpg','e.jpg','f.jpg']
|
| 34 |
+
examples=[]
|
| 35 |
interface=gr.Interface(fn=classify_image, inputs=image ,outputs=label,examples=examples)
|
| 36 |
interface.launch(inline=False)
|
| 37 |
|