Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def create_portfolio_graph():
|
|
| 19 |
return chart
|
| 20 |
|
| 21 |
with gr.Blocks() as demo:
|
| 22 |
-
title = gr.Text("This is the Current Recommended Portfolio Allocation",
|
| 23 |
plot = gr.Plot(label="Portfolio Composition Chart")
|
| 24 |
plot.change(create_portfolio_graph, inputs=[], outputs=[plot])
|
| 25 |
demo.load(create_portfolio_graph, inputs=[], outputs=[title, plot])
|
|
@@ -42,3 +42,4 @@ if __name__ == "__main__":
|
|
| 42 |
|
| 43 |
|
| 44 |
|
|
|
|
|
|
| 19 |
return chart
|
| 20 |
|
| 21 |
with gr.Blocks() as demo:
|
| 22 |
+
title = gr.Text("This is the Current Recommended Portfolio Allocation", style={"fontSize": 24, "textAlign": "center"})
|
| 23 |
plot = gr.Plot(label="Portfolio Composition Chart")
|
| 24 |
plot.change(create_portfolio_graph, inputs=[], outputs=[plot])
|
| 25 |
demo.load(create_portfolio_graph, inputs=[], outputs=[title, plot])
|
|
|
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
+
|