Update app.py
Browse files
app.py
CHANGED
@@ -156,6 +156,7 @@ def update_options(selected_option):
|
|
156 |
else:
|
157 |
new_options = ["Suboption 3.1", "Suboption 3.2"]
|
158 |
new_options = [selected_option, 'Something', 'something else']
|
|
|
159 |
return new_options # Return current selection to persist it in the first dropdown
|
160 |
|
161 |
# with gr.Blocks() as demo:
|
|
|
156 |
else:
|
157 |
new_options = ["Suboption 3.1", "Suboption 3.2"]
|
158 |
new_options = [selected_option, 'Something', 'something else']
|
159 |
+
new_options = 'something else'
|
160 |
return new_options # Return current selection to persist it in the first dropdown
|
161 |
|
162 |
# with gr.Blocks() as demo:
|