Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def predict(image):
|
|
107 |
"back": back_result
|
108 |
}
|
109 |
|
110 |
-
return detected_image, labels, api_results
|
111 |
|
112 |
# ---------------- Gradio Interface ---------------- #
|
113 |
iface = gr.Interface(
|
|
|
107 |
"back": back_result
|
108 |
}
|
109 |
|
110 |
+
return detected_image, labels, api_results, cropped_images # Return cropped images as output
|
111 |
|
112 |
# ---------------- Gradio Interface ---------------- #
|
113 |
iface = gr.Interface(
|