Spaces:
Sleeping
Sleeping
Commit
·
25ebdb5
1
Parent(s):
4ce53a5
Gradio Adjustment 3
Browse files
app.py
CHANGED
|
@@ -13,5 +13,5 @@ def classify_image(img):
|
|
| 13 |
return dict(zip(categories, map(float,probs)))
|
| 14 |
|
| 15 |
|
| 16 |
-
intf = gr.Interface(fn=classify_image, inputs=gr.
|
| 17 |
intf.launch(inline=False)
|
|
|
|
| 13 |
return dict(zip(categories, map(float,probs)))
|
| 14 |
|
| 15 |
|
| 16 |
+
intf = gr.Interface(fn=classify_image, inputs=gr.Image(shape=(192,192)), outputs=gr.Label(), examples=['dog.jpg','cat.jpg'])
|
| 17 |
intf.launch(inline=False)
|