Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ with gr.Blocks() as demo:
|
|
| 17 |
fn=init_choices,
|
| 18 |
outputs=state,
|
| 19 |
).then(
|
| 20 |
-
fn=lambda x: gr.Dropdown(choices=list(x.keys())),
|
| 21 |
inputs=state,
|
| 22 |
outputs=dropdown2,
|
| 23 |
)
|
|
|
|
| 17 |
fn=init_choices,
|
| 18 |
outputs=state,
|
| 19 |
).then(
|
| 20 |
+
fn=lambda x: gr.Dropdown(choices=list(x.keys()), interactive=True),
|
| 21 |
inputs=state,
|
| 22 |
outputs=dropdown2,
|
| 23 |
)
|