Spaces:
Runtime error
Runtime error
Commit
·
01c1781
1
Parent(s):
9bc4401
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,10 +39,5 @@ def classify_image(img):
|
|
| 39 |
image = gr.components.Image()
|
| 40 |
label = gr.components.Label()
|
| 41 |
|
| 42 |
-
examples = ['dog.jpg','labrador.jpeg','dunno.jpg']
|
| 43 |
-
|
| 44 |
-
for x in examples:
|
| 45 |
-
Image.open(x)
|
| 46 |
-
|
| 47 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 48 |
-
intf.launch(inline=False
|
|
|
|
| 39 |
image = gr.components.Image()
|
| 40 |
label = gr.components.Label()
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 43 |
+
intf.launch(inline=False)
|