Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,13 +227,13 @@ with gr.Blocks(css=css) as demo:
|
|
| 227 |
gr.Markdown('<p style="text-align: center; font-size: 20px; color: blue;"># Stock Advisor - AI Assistant</p>')
|
| 228 |
gr.Markdown('<p style="text-align: right; font-size: 12px; font-style: italic; color: darkgrey;">Powered by Google Gemini AI & designed by CS</p>')
|
| 229 |
gr.Markdown("-------------------------------------------------------------------------------------------------------------------")
|
| 230 |
-
gr.Markdown('<p style="text-align: center; font-size: 16px; font-style: bold; color:
|
| 231 |
-
with gr.Row(
|
| 232 |
investor_type = gr.Dropdown(["", "Conservative", "Moderate", "Aggressive"], label="Analyst Type")
|
| 233 |
investment_horizon = gr.Dropdown(["", "Long-term", "Medium-term", "Short-term", "Very short-term"], label="Analyst Horizon")
|
| 234 |
stock_style = gr.Dropdown(["", "Fundamental Stocks", "Growth Stocks", "Value Stocks", "Momentum Stocks", "Contrarian Stocks", "Technical Breakout Stocks"], label="Analyst Style")
|
| 235 |
|
| 236 |
-
with gr.Row(
|
| 237 |
risk_tolerance = gr.Dropdown(["", "Low", "Moderate", "High"], label="Investor Risk Tolerance")
|
| 238 |
investment_period = gr.Dropdown(["", "6 months", "1 year", "2 years", "3 years", "5 years", "7 years", "10 years"], label="Investment Period (yrs)")
|
| 239 |
portfolio_type = gr.Dropdown(["", "Concentrated", "Diversified", "Growth", "Value", "Speculative", "Contrarian"], label="Portfolio Type")
|
|
|
|
| 227 |
gr.Markdown('<p style="text-align: center; font-size: 20px; color: blue;"># Stock Advisor - AI Assistant</p>')
|
| 228 |
gr.Markdown('<p style="text-align: right; font-size: 12px; font-style: italic; color: darkgrey;">Powered by Google Gemini AI & designed by CS</p>')
|
| 229 |
gr.Markdown("-------------------------------------------------------------------------------------------------------------------")
|
| 230 |
+
gr.Markdown('<p style="text-align: center; font-size: 16px; font-style: bold; color: darkgreen;">Please select analyst persona, investor persona followed by stock details</p>')
|
| 231 |
+
with gr.Row():
|
| 232 |
investor_type = gr.Dropdown(["", "Conservative", "Moderate", "Aggressive"], label="Analyst Type")
|
| 233 |
investment_horizon = gr.Dropdown(["", "Long-term", "Medium-term", "Short-term", "Very short-term"], label="Analyst Horizon")
|
| 234 |
stock_style = gr.Dropdown(["", "Fundamental Stocks", "Growth Stocks", "Value Stocks", "Momentum Stocks", "Contrarian Stocks", "Technical Breakout Stocks"], label="Analyst Style")
|
| 235 |
|
| 236 |
+
with gr.Row():
|
| 237 |
risk_tolerance = gr.Dropdown(["", "Low", "Moderate", "High"], label="Investor Risk Tolerance")
|
| 238 |
investment_period = gr.Dropdown(["", "6 months", "1 year", "2 years", "3 years", "5 years", "7 years", "10 years"], label="Investment Period (yrs)")
|
| 239 |
portfolio_type = gr.Dropdown(["", "Concentrated", "Diversified", "Growth", "Value", "Speculative", "Contrarian"], label="Portfolio Type")
|