Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -104,6 +104,8 @@ def extract_object(image, t1, t2):
|
|
104 |
# Convert the result back to RGB for display with matplotlib.
|
105 |
final_img_rgb = cv2.cvtColor(final_img, cv2.COLOR_BGR2RGB)
|
106 |
|
|
|
|
|
107 |
return image1, final_img
|
108 |
|
109 |
# Visualization
|
|
|
104 |
# Convert the result back to RGB for display with matplotlib.
|
105 |
final_img_rgb = cv2.cvtColor(final_img, cv2.COLOR_BGR2RGB)
|
106 |
|
107 |
+
print("BOTH OUTPUT COMPUTED")
|
108 |
+
|
109 |
return image1, final_img
|
110 |
|
111 |
# Visualization
|