davanstrien HF staff commited on
Commit
ab438d6
1 Parent(s): e5cdc54

catch all changes to toggle

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ with gr.Blocks() as demo:
162
  inputs=[broad_categories, new_only, narrow_categories],
163
  outputs=results,
164
  )
165
- new_only.select(
166
  create_markdown_summary,
167
  [broad_categories, new_only, narrow_categories],
168
  results,
 
162
  inputs=[broad_categories, new_only, narrow_categories],
163
  outputs=results,
164
  )
165
+ new_only.change(
166
  create_markdown_summary,
167
  [broad_categories, new_only, narrow_categories],
168
  results,