JC321 commited on
Commit
6104af6
·
verified ·
1 Parent(s): f5db6d2

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. 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 财务数据查询助手", theme=gr.themes.Soft()) as demo:
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