Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,5 +13,5 @@ def get_result_by_image(input_image: gr.Image) -> dict:
|
|
| 13 |
return sorted_data[0]
|
| 14 |
|
| 15 |
|
| 16 |
-
iface = gr.Interface(fn=get_result_by_image, inputs="image", outputs="
|
| 17 |
iface.launch()
|
|
|
|
| 13 |
return sorted_data[0]
|
| 14 |
|
| 15 |
|
| 16 |
+
iface = gr.Interface(fn=get_result_by_image, inputs="image", outputs="json")
|
| 17 |
iface.launch()
|