radames commited on
Commit
891a89b
1 Parent(s): a8938fa

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -106,7 +106,7 @@
106
  mask = gr.Image(label="Output Mask")
107
  clear_points.click(lambda: ([], []), None, [points, points_state])
108
  image.select(set_points, inputs=[image, points_state], outputs=[points, points_state])
109
- points.change(None, inputs=[image, points], outputs=[mask], js=get_point_mask)
110
  demo.launch(show_api=False)
111
  </gradio-lite>
112
  </body>
 
106
  mask = gr.Image(label="Output Mask")
107
  clear_points.click(lambda: ([], []), None, [points, points_state])
108
  image.select(set_points, inputs=[image, points_state], outputs=[points, points_state])
109
+ points.change(None, inputs=[image, points], outputs=[mask], _js=get_point_mask)
110
  demo.launch(show_api=False)
111
  </gradio-lite>
112
  </body>