eaglelandsonce commited on
Commit
2862eea
1 Parent(s): 8d60600

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -49,7 +49,7 @@ if not GOOGLE_AI_STUDIO:
49
 
50
 
51
  STEP1_TITLE = """<h1 align="center"><a href="https://chat.openai.com/g/g-3ZNjAmguz-portfolio-investment-advisor">Custom GPT Portfolio Generator</a></h1>"""
52
- STEP2_TITLE = """<h1 align="center">Perform Analysis on Individual Stocks</h1>"""
53
  STEP3_TITLE = """<h1 align="center">Optimize Your Portfolio to Maximize Return</h1>"""
54
 
55
 
@@ -740,7 +740,7 @@ with gr.Blocks() as demo:
740
  expected_annual_return, annual_volatility, sharpe_ratio, fig_indiv_prices, fig_cum_returns])
741
 
742
 
743
- with gr.Tab("Step 3: Fine Tuning"):
744
  gr.HTML(STEP2_TITLE)
745
  with gr.Row():
746
  with gr.Column(scale=1):
@@ -749,8 +749,8 @@ with gr.Blocks() as demo:
749
  run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
750
  run_button_crewai.click(
751
  fn=crewai_process,
752
- inputs=gr.Textbox(lines=2, placeholder="Analyze Stock...", label="Input Stock to be analyzed"),
753
- outputs=gr.Textbox(label="Stock Analysis")
754
  )
755
 
756
 
 
49
 
50
 
51
  STEP1_TITLE = """<h1 align="center"><a href="https://chat.openai.com/g/g-3ZNjAmguz-portfolio-investment-advisor">Custom GPT Portfolio Generator</a></h1>"""
52
+ STEP2_TITLE = """<h1 align="center">Finetune Your Portfolio</h1>"""
53
  STEP3_TITLE = """<h1 align="center">Optimize Your Portfolio to Maximize Return</h1>"""
54
 
55
 
 
740
  expected_annual_return, annual_volatility, sharpe_ratio, fig_indiv_prices, fig_cum_returns])
741
 
742
 
743
+ with gr.Tab("Step 3: Portfolio Finetuning"):
744
  gr.HTML(STEP2_TITLE)
745
  with gr.Row():
746
  with gr.Column(scale=1):
 
749
  run_button_crewai = gr.Button(value="Run", variant="primary", scale=1)
750
  run_button_crewai.click(
751
  fn=crewai_process,
752
+ inputs=gr.Textbox("KO,PG,JNJ,VZ,PFE,MCD,WMT,MMM,SO,DUK", label='Input your stocks and analyze your portfolio'),
753
+ outputs=gr.Textbox(label="Portfolio Analysis")
754
  )
755
 
756