28 lines
612 B
Plaintext
28 lines
612 B
Plaintext
# 核心框架
|
||
Flask==2.0.1
|
||
Werkzeug==2.0.1
|
||
mysql-connector-python==8.0.27
|
||
bcrypt==3.2.0
|
||
|
||
# 模型和数据处理 - 系统适配版本
|
||
tensorflow-macos>=2.9.0; platform_system=="Darwin" and platform_machine=="arm64" # Mac M1/M2
|
||
tensorflow-cpu>=2.9.0; platform_system!="Darwin" or platform_machine!="arm64" # 其他系统
|
||
# tensorflow-gpu>=2.9.0 # 如果有GPU,可以取消此注释
|
||
|
||
# 基础数据处理
|
||
numpy>=1.20.0
|
||
jieba==0.42.1
|
||
scikit-learn>=1.0.0
|
||
|
||
# 文件处理
|
||
rarfile==4.0
|
||
python-dateutil==2.8.2
|
||
|
||
# 邮件服务
|
||
Flask-Mail==0.9.1
|
||
|
||
# 工具类
|
||
python-dotenv==0.20.0
|
||
|
||
# 生产部署
|
||
gunicorn==20.1.0 |