Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ with gr.Blocks() as demo:
|
|
| 35 |
)
|
| 36 |
total_funds_input = gr.Number(value=0)
|
| 37 |
plot = gr.Plot(label="Portfolio Composition Chart")
|
| 38 |
-
button = gr.Button("Submit", onclick=on_submit, args=[total_funds_input]
|
| 39 |
demo.load(create_portfolio_graph, inputs=[total_funds_input, button], outputs=[title, plot])
|
| 40 |
|
| 41 |
if __name__ == "__main__":
|
|
|
|
| 35 |
)
|
| 36 |
total_funds_input = gr.Number(value=0)
|
| 37 |
plot = gr.Plot(label="Portfolio Composition Chart")
|
| 38 |
+
button = gr.Button("Submit", onclick=on_submit, args=[total_funds_input])
|
| 39 |
demo.load(create_portfolio_graph, inputs=[total_funds_input, button], outputs=[title, plot])
|
| 40 |
|
| 41 |
if __name__ == "__main__":
|