Spaces:
Sleeping
Sleeping
Upload 2 files
Browse files
app.py
CHANGED
|
@@ -325,10 +325,7 @@ def chatbot_response(message, history):
|
|
| 325 |
return f"Sorry, I encountered an error: {str(e)}. Please try asking about financial data for specific companies like Apple, Microsoft, NVIDIA, Tesla, etc."
|
| 326 |
|
| 327 |
# 创建 Gradio 界面
|
| 328 |
-
with gr.Blocks(title="SEC Financial Data Query Assistant"
|
| 329 |
-
.chatbot {min-height: 600px !important;}
|
| 330 |
-
footer {visibility: hidden}
|
| 331 |
-
""") as demo:
|
| 332 |
gr.Markdown("# 🤖 SEC Financial Data Query Assistant")
|
| 333 |
gr.Markdown("Query SEC financial data for US listed companies through MCP Server")
|
| 334 |
|
|
|
|
| 325 |
return f"Sorry, I encountered an error: {str(e)}. Please try asking about financial data for specific companies like Apple, Microsoft, NVIDIA, Tesla, etc."
|
| 326 |
|
| 327 |
# 创建 Gradio 界面
|
| 328 |
+
with gr.Blocks(title="SEC Financial Data Query Assistant") as demo:
|
|
|
|
|
|
|
|
|
|
| 329 |
gr.Markdown("# 🤖 SEC Financial Data Query Assistant")
|
| 330 |
gr.Markdown("Query SEC financial data for US listed companies through MCP Server")
|
| 331 |
|