Update app.py
#1
by
pngwn
HF Staff
- opened
app.py
CHANGED
|
@@ -30,8 +30,8 @@ with gr.Blocks() as demo:
|
|
| 30 |
|
| 31 |
with gr.Column(scale=4):
|
| 32 |
fig = generate_figure(org_choice)
|
| 33 |
-
gr.Plot(fig)
|
| 34 |
|
| 35 |
-
org_choice.select(generate_figure, inputs=[org_choice], outputs=[
|
| 36 |
|
| 37 |
demo.launch()
|
|
|
|
| 30 |
|
| 31 |
with gr.Column(scale=4):
|
| 32 |
fig = generate_figure(org_choice)
|
| 33 |
+
plt = gr.Plot(fig)
|
| 34 |
|
| 35 |
+
org_choice.select(generate_figure, inputs=[org_choice], outputs=[plt])
|
| 36 |
|
| 37 |
demo.launch()
|