Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,8 @@ def recognize_image(image):
|
|
23 |
print(pred, probs)
|
24 |
return dict(zip(veg_labels, map(float, probs)))
|
25 |
|
26 |
-
image = gr.Image()
|
27 |
-
label = gr.Label()
|
28 |
examples = [
|
29 |
'test_images/test_image1.jpeg',
|
30 |
'test_images/test_image2.jpg',
|
|
|
23 |
print(pred, probs)
|
24 |
return dict(zip(veg_labels, map(float, probs)))
|
25 |
|
26 |
+
image = gr.inputs.Image()
|
27 |
+
label = gr.outputs.Label()
|
28 |
examples = [
|
29 |
'test_images/test_image1.jpeg',
|
30 |
'test_images/test_image2.jpg',
|