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