Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ with gr.Blocks() as demo:
|
|
| 32 |
amount = gr.Number(value=0)
|
| 33 |
button = gr.Button(value="Submit")
|
| 34 |
plot = gr.Plot(label="Portfolio Composition Chart")
|
| 35 |
-
demo.load(create_portfolio_graph, inputs=[amount
|
| 36 |
button.click(create_portfolio_graph, [amount], plot)
|
| 37 |
|
| 38 |
if __name__ == "__main__":
|
|
|
|
| 32 |
amount = gr.Number(value=0)
|
| 33 |
button = gr.Button(value="Submit")
|
| 34 |
plot = gr.Plot(label="Portfolio Composition Chart")
|
| 35 |
+
demo.load(create_portfolio_graph, inputs=[amount], outputs=[plot])
|
| 36 |
button.click(create_portfolio_graph, [amount], plot)
|
| 37 |
|
| 38 |
if __name__ == "__main__":
|