niulx commited on
Commit
6e4a4c5
1 Parent(s): dfe8975

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -225,7 +225,7 @@ with gr.Blocks() as demo:
225
 
226
 
227
 
228
- canvas.upload(image_change, inputs=[], outputs=[text_button])
229
 
230
 
231
  with gr.Tab(label="2 Optimization"):
@@ -360,8 +360,8 @@ with gr.Blocks() as demo:
360
  outputs=[slider2]
361
  )
362
 
363
- text_button.click(load_image_ui, [false] ,
364
- [image_loaded, segmentation, mask_np_list, mask_label_list, canvas, slider, slider2] )
365
 
366
  segment_button.click(run_segmentation_wrapper,
367
  [canvas] ,
 
225
 
226
 
227
 
228
+ #canvas.upload(image_change, inputs=[], outputs=[text_button])
229
 
230
 
231
  with gr.Tab(label="2 Optimization"):
 
360
  outputs=[slider2]
361
  )
362
 
363
+ #text_button.click(load_image_ui, [false] ,
364
+ # [image_loaded, segmentation, mask_np_list, mask_label_list, canvas, slider, slider2] )
365
 
366
  segment_button.click(run_segmentation_wrapper,
367
  [canvas] ,