fix(requirements): 移除 google-generativeai/openai 硬依赖 - 代码用 requests 直接调 REST API,兼容 Python 3.8
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
flask>=3.0.0
|
||||
gunicorn>=21.2.0
|
||||
requests>=2.31.0
|
||||
flask>=2.0.0
|
||||
gunicorn>=20.0.0
|
||||
requests>=2.28.0
|
||||
PyYAML>=6.0
|
||||
opencv-python>=4.8.0
|
||||
numpy>=1.24.0
|
||||
google-generativeai>=0.5.0
|
||||
openai>=1.10.0
|
||||
opencv-python-headless>=4.5.0
|
||||
numpy>=1.21.0
|
||||
# google-generativeai 和 openai 为可选依赖(代码用 requests 直接调 REST API)
|
||||
# 如需 SDK 方式调用,取消注释并在 Python 3.9+ 环境安装:
|
||||
# google-generativeai>=0.5.0
|
||||
# openai>=1.10.0
|
||||
|
||||
Reference in New Issue
Block a user