Spaces:
Runtime error
Runtime error
s194649
commited on
Commit
·
ab17802
1
Parent(s):
39f3339
Dummy encode on click
Browse files
app.py
CHANGED
@@ -112,6 +112,7 @@ with block:
|
|
112 |
|
113 |
|
114 |
def on_everything_image_select(input_image, pred_masks, masks, text, evt: gr.SelectData):
|
|
|
115 |
i = evt.index
|
116 |
mask = pred_masks[i][0]
|
117 |
print(mask)
|
|
|
112 |
|
113 |
|
114 |
def on_everything_image_select(input_image, pred_masks, masks, text, evt: gr.SelectData):
|
115 |
+
sam_cpu.dummy_encode(input_image)
|
116 |
i = evt.index
|
117 |
mask = pred_masks[i][0]
|
118 |
print(mask)
|