Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,8 @@ def recognize_image(image):
|
|
| 19 |
return dict(zip(fruit_labels, map(float, probs)))
|
| 20 |
|
| 21 |
|
| 22 |
-
image = gr.
|
| 23 |
-
label = gr.
|
| 24 |
|
| 25 |
examples = [
|
| 26 |
'test_images/test_0.jpg',
|
|
|
|
| 19 |
return dict(zip(fruit_labels, map(float, probs)))
|
| 20 |
|
| 21 |
|
| 22 |
+
image = gr.Image()
|
| 23 |
+
label = gr.Label()
|
| 24 |
|
| 25 |
examples = [
|
| 26 |
'test_images/test_0.jpg',
|