Spaces:
Sleeping
Sleeping
Upload 2 files
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -100,7 +100,7 @@ def query_financial_data(company_name, query_type):
|
|
| 100 |
return f"❌ 发生错误: {str(e)}"
|
| 101 |
|
| 102 |
# 创建 Gradio 界面
|
| 103 |
-
with gr.Blocks(title="SEC
|
| 104 |
gr.Markdown("# 🤖 SEC 财务数据查询助手")
|
| 105 |
gr.Markdown("通过调用 MCP Server 查询美国上市公司的财务数据")
|
| 106 |
|
|
|
|
| 100 |
return f"❌ 发生错误: {str(e)}"
|
| 101 |
|
| 102 |
# 创建 Gradio 界面
|
| 103 |
+
with gr.Blocks(title="SEC Financial Data Query Assistant") as demo:
|
| 104 |
gr.Markdown("# 🤖 SEC 财务数据查询助手")
|
| 105 |
gr.Markdown("通过调用 MCP Server 查询美国上市公司的财务数据")
|
| 106 |
|
requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
gradio
|
| 2 |
requests
|
|
|
|
| 1 |
+
gradio>=4.0.0
|
| 2 |
requests
|