harishB97 commited on
Commit
fa09cc6
·
verified ·
1 Parent(s): c559bb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,6 +168,6 @@ with gr.Blocks() as demo:
168
  dropdown_2 = gr.Dropdown(choices=['just here', 'for the sake of it'], label="Sub Options")
169
 
170
  # When the first dropdown changes, update the options in the second dropdown
171
- dropdown_1.change(fn=update_options, inputs=dropdown_1, outputs=dropdown_2)
172
 
173
  demo.launch()
 
168
  dropdown_2 = gr.Dropdown(choices=['just here', 'for the sake of it'], label="Sub Options")
169
 
170
  # When the first dropdown changes, update the options in the second dropdown
171
+ dropdown_2.change(fn=update_options, inputs=dropdown_2, outputs=dropdown_1)
172
 
173
  demo.launch()