ysharma HF staff commited on
Commit
1a52b27
1 Parent(s): fd4af18

update button event

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ with gr.Blocks() as demo:
101
  btn_imageedit.click(set_visible_true, [], btn_synth_image)
102
  btn_imageedit.click(set_visible_true, [], image_synth)
103
  btn_imageedit.click(set_visible_true, [], image_synth_translated)
104
- btn_imageedit.change(set_visible_true, [], html_tag)
105
  btn_synth_image.click(synthetic_image_edit,[prompt_synth, task_name_radio],[image_synth, image_synth_translated])
106
 
107
  image_in.clear(set_visible_true, [], btn_inversion)
 
101
  btn_imageedit.click(set_visible_true, [], btn_synth_image)
102
  btn_imageedit.click(set_visible_true, [], image_synth)
103
  btn_imageedit.click(set_visible_true, [], image_synth_translated)
104
+ btn_imageedit.click(set_visible_true, [], html_tag)
105
  btn_synth_image.click(synthetic_image_edit,[prompt_synth, task_name_radio],[image_synth, image_synth_translated])
106
 
107
  image_in.clear(set_visible_true, [], btn_inversion)