Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
90719f9
1
Parent(s):
c810b3c
fix
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ with block:
|
|
| 124 |
print("segmenting everything")
|
| 125 |
image = inputs[input_image]
|
| 126 |
sam_masks = sam.segment_everything(image)
|
| 127 |
-
return [sam_masks]
|
| 128 |
sam_sgmt_everything_btn.click(on_sam_sgmt_everything_btn_click, components, [everything_image], queue=False)
|
| 129 |
|
| 130 |
|
|
|
|
| 124 |
print("segmenting everything")
|
| 125 |
image = inputs[input_image]
|
| 126 |
sam_masks = sam.segment_everything(image)
|
| 127 |
+
return [(image, sam_masks)]
|
| 128 |
sam_sgmt_everything_btn.click(on_sam_sgmt_everything_btn_click, components, [everything_image], queue=False)
|
| 129 |
|
| 130 |
|