LPDoctor commited on
Commit
ee539b4
·
verified ·
1 Parent(s): 055f1da

change from input event to change event

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -432,7 +432,7 @@ with gr.Blocks(css=css) as demo:
432
  outputs=output_image,
433
  )
434
 
435
- style_event.input(
436
  fn=get_style_lists,
437
  outputs=STYLE_NAMES,
438
  queue=False,
 
432
  outputs=output_image,
433
  )
434
 
435
+ style_event.change(
436
  fn=get_style_lists,
437
  outputs=STYLE_NAMES,
438
  queue=False,