jens commited on
Commit
57b4950
·
1 Parent(s): 9503ae0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ with block:
89
 
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]
93
  masks.append((mask, text))
94
  anno = (input_image, masks)
95
  return [masks, anno]
 
89
 
90
  def on_everything_image_select(input_image, everything_image, masks, text, evt: gr.SelectData):
91
  i = evt.index
92
+ mask = everything_image[0][i]
93
  masks.append((mask, text))
94
  anno = (input_image, masks)
95
  return [masks, anno]