modernai commited on
Commit
41b1b37
·
verified ·
1 Parent(s): 4c9a5cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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", element="h1", style={"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,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
+