Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ def detect(image):
|
|
| 90 |
nutrition = get_nutrition(label)
|
| 91 |
detected_info.append(nutrition)
|
| 92 |
|
| 93 |
-
|
| 94 |
|
| 95 |
# Gradio app
|
| 96 |
demo = gr.Interface(
|
|
|
|
| 90 |
nutrition = get_nutrition(label)
|
| 91 |
detected_info.append(nutrition)
|
| 92 |
|
| 93 |
+
return Image.fromarray(result.plot()), detected_info
|
| 94 |
|
| 95 |
# Gradio app
|
| 96 |
demo = gr.Interface(
|