bndl commited on
Commit
fd422da
·
1 Parent(s): 393adc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -348,6 +348,15 @@ with gr.Blocks(css=css_styling, title=page_title, theme=osium_theme) as demo:
348
  # every=2,
349
  )
350
 
 
 
 
 
 
 
 
 
 
351
  # Update the choices in the dropdown based on the elements selected
352
  # dropdown_1.change(fn=update_dropdown, inputs=[dropdown_1], outputs=[dropdown_2, dropdown_3], show_progress=True)
353
  # dropdown_2.change(fn=update_dropdown, inputs=[dropdown_2], outputs=[dropdown_1, dropdown_3], show_progress=True)
 
348
  # every=2,
349
  )
350
 
351
+ output_hardness.change(
352
+ fn=update_plot_fn,
353
+ inputs=[dropdown_1, input_slicer_1, dropdown_2, input_slicer_2, dropdown_3, input_slicer_3],
354
+ outputs=[output_plot],
355
+ show_progress=True,
356
+ queue=True,
357
+ # every=2,
358
+ )
359
+
360
  # Update the choices in the dropdown based on the elements selected
361
  # dropdown_1.change(fn=update_dropdown, inputs=[dropdown_1], outputs=[dropdown_2, dropdown_3], show_progress=True)
362
  # dropdown_2.change(fn=update_dropdown, inputs=[dropdown_2], outputs=[dropdown_1, dropdown_3], show_progress=True)