Compare commits

...

3 Commits

Author SHA1 Message Date
zln
59a987d1cf Add test.py with add_numbers function
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 19:26:43 +08:00
zln
0f1cfc18c2 Merge remote changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 19:26:19 +08:00
zln
669915de04 Update README and add requirements
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 19:25:40 +08:00
2 changed files with 35 additions and 0 deletions

27
requirements.txt Normal file
View File

@@ -0,0 +1,27 @@
# CardioAI - 心血管疾病智能辅助系统
# 环境配置说明:
# 1. 创建conda虚拟环境:
# conda create -n cardioenv python=3.10
# 2. 激活环境:
# conda activate cardioenv
# 3. 安装依赖:
# pip install -r requirements.txt
# 核心依赖
pandas>=2.0.0
openpyxl>=3.1.0
numpy>=1.24.0
scikit-learn>=1.3.0
xgboost>=2.0.0
joblib>=1.3.0
# 可视化与Web框架
streamlit>=1.28.0
plotly>=5.17.0
Flask>=2.3.0
# 环境配置与AI
python-dotenv>=1.0.0
langchain-openai>=0.0.5
dashscope>=1.14.0
requests>=2.31.0

8
test.py Normal file
View File

@@ -0,0 +1,8 @@
def add_numbers(a, b):
"""返回两个数字的和"""
return a + b
if __name__ == "__main__":
# 测试函数
result = add_numbers(3, 5)
print(f"3 + 5 = {result}")