Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -396,6 +396,11 @@ with gr.Blocks() as demo:
|
|
| 396 |
gr.Markdown("# 🧠 AI Stock Advisor + Financial Report Summarizer")
|
| 397 |
|
| 398 |
with gr.Tab("📊 Stock Advisor"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 399 |
company_input = gr.Textbox(label="Company Name", placeholder="e.g., Apple, Tesla", lines=1)
|
| 400 |
dropdown = gr.Dropdown(choices=dropdown_options, label="What do you want to know?", value=dropdown_options[0])
|
| 401 |
text_output = gr.Markdown(label="📘 Text Summary")
|
|
|
|
| 396 |
gr.Markdown("# 🧠 AI Stock Advisor + Financial Report Summarizer")
|
| 397 |
|
| 398 |
with gr.Tab("📊 Stock Advisor"):
|
| 399 |
+
gr.Markdown("**Option 1:** Type your question (recommended) or use the dropdown below")
|
| 400 |
+
|
| 401 |
+
free_query = gr.Textbox(label="Ask your stock-related question", placeholder="e.g., What is Tesla's stock price?")
|
| 402 |
+
|
| 403 |
+
gr.Markdown("**Option 2:** Use dropdown + company name")
|
| 404 |
company_input = gr.Textbox(label="Company Name", placeholder="e.g., Apple, Tesla", lines=1)
|
| 405 |
dropdown = gr.Dropdown(choices=dropdown_options, label="What do you want to know?", value=dropdown_options[0])
|
| 406 |
text_output = gr.Markdown(label="📘 Text Summary")
|