niulx commited on
Commit
dfeb31b
1 Parent(s): 329efed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ with gr.Blocks() as demo:
211
  result_info0 = gr.Text(label="Response")
212
  gr.Markdown("""<p style="text-align: center; font-size: 20px">Edit Mask (Optional)</p>""")
213
  slider = gr.Slider(0, 20, step=1, label = 'mask id', interactive=False)
214
- label = gr.Textbox()
215
  slider.release(slider_release,
216
  inputs = [slider, image_loaded, mask_np_list_updated, mask_label_list],
217
  outputs= [canvas, label]
 
211
  result_info0 = gr.Text(label="Response")
212
  gr.Markdown("""<p style="text-align: center; font-size: 20px">Edit Mask (Optional)</p>""")
213
  slider = gr.Slider(0, 20, step=1, label = 'mask id', interactive=False)
214
+ label = gr.Text(label='label')
215
  slider.release(slider_release,
216
  inputs = [slider, image_loaded, mask_np_list_updated, mask_label_list],
217
  outputs= [canvas, label]