should it be a list?
Browse files
app.py
CHANGED
|
@@ -32,6 +32,6 @@ with gr.Blocks() as demo:
|
|
| 32 |
fig = generate_figure(org_choice)
|
| 33 |
gr.Plot(fig)
|
| 34 |
|
| 35 |
-
org_choice.select(generate_figure, inputs=org_choice, outputs=fig)
|
| 36 |
|
| 37 |
demo.launch()
|
|
|
|
| 32 |
fig = generate_figure(org_choice)
|
| 33 |
gr.Plot(fig)
|
| 34 |
|
| 35 |
+
org_choice.select(generate_figure, inputs=[org_choice], outputs=[fig])
|
| 36 |
|
| 37 |
demo.launch()
|