Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,8 +31,8 @@ def recognize_image(image):
|
|
| 31 |
return dict(zip(cap_labels, map(float,probs)))
|
| 32 |
|
| 33 |
|
| 34 |
-
image = gr.Image()
|
| 35 |
-
label = gr.Label()
|
| 36 |
examples = [
|
| 37 |
'test_images/unknown_00.jpg',
|
| 38 |
'test_images/unknown_01.jpg',
|
|
|
|
| 31 |
return dict(zip(cap_labels, map(float,probs)))
|
| 32 |
|
| 33 |
|
| 34 |
+
image = gr.inputs.Image()
|
| 35 |
+
label = gr.outputs.Label()
|
| 36 |
examples = [
|
| 37 |
'test_images/unknown_00.jpg',
|
| 38 |
'test_images/unknown_01.jpg',
|