Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,10 @@ def recognize_image(image):
|
|
18 |
print(pred)
|
19 |
return dict(zip(fruit_labels, map(float, probs)))
|
20 |
|
21 |
-
|
22 |
-
|
|
|
|
|
23 |
examples = [
|
24 |
'test_images/test_0.jpg',
|
25 |
'test_images/test_1.jpg',
|
|
|
18 |
print(pred)
|
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',
|
27 |
'test_images/test_1.jpg',
|