update gradio Image and Label
Browse files
app.py
CHANGED
|
@@ -16,8 +16,8 @@ def classify_image(img):
|
|
| 16 |
return dict(zip(categories, map(float, probs)))
|
| 17 |
|
| 18 |
|
| 19 |
-
image = gr.
|
| 20 |
-
label = gr.
|
| 21 |
examples = ["dog.jpg", "cat.jpg", "dunno.jpg"]
|
| 22 |
|
| 23 |
|
|
|
|
| 16 |
return dict(zip(categories, map(float, probs)))
|
| 17 |
|
| 18 |
|
| 19 |
+
image = gr.Image(height=192, width=192)
|
| 20 |
+
label = gr.Label()
|
| 21 |
examples = ["dog.jpg", "cat.jpg", "dunno.jpg"]
|
| 22 |
|
| 23 |
|