Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
c1a5086
1
Parent(s):
11e3df3
debug
Browse files
app.py
CHANGED
|
@@ -90,6 +90,8 @@ with block:
|
|
| 90 |
def on_everything_image_select(input_image, everything_image, masks, text, evt: gr.SelectData):
|
| 91 |
i = evt.index
|
| 92 |
mask = everything_image[1][i][0]
|
|
|
|
|
|
|
| 93 |
masks.append((mask, text))
|
| 94 |
anno = (input_image, masks)
|
| 95 |
return [masks, anno]
|
|
|
|
| 90 |
def on_everything_image_select(input_image, everything_image, masks, text, evt: gr.SelectData):
|
| 91 |
i = evt.index
|
| 92 |
mask = everything_image[1][i][0]
|
| 93 |
+
print(mask)
|
| 94 |
+
print(type(mask))
|
| 95 |
masks.append((mask, text))
|
| 96 |
anno = (input_image, masks)
|
| 97 |
return [masks, anno]
|