NarratoAI/requirements.txt
linyq 3396644593 feat: 移除 LiteLLM 依赖并迁移至 OpenAI 兼容接口
- 移除 LiteLLM 相关代码和依赖,改用原生 OpenAI 兼容接口
- 重构 LLM 服务提供商注册逻辑,仅支持 OpenAI 兼容接口
- 更新配置文件和文档,移除 LiteLLM 相关说明
- 添加新的测试用例验证 OpenAI 兼容接口集成
- 更新 WebUI 组件以适配新的 OpenAI 兼容接口
2026-03-27 23:49:58 +08:00

38 lines
768 B
Plaintext

# 核心依赖
requests>=2.32.0
moviepy==2.1.1
edge-tts==7.2.7
streamlit>=1.45.0
watchdog==6.0.0
loguru>=0.7.3
tomli>=2.2.1
tomli-w>=1.0.0
pydub==0.25.1
pysrt==1.1.2
# AI 服务依赖
openai>=1.77.0
google-generativeai>=0.8.5 # 原生 Gemini 场景依赖
azure-cognitiveservices-speech>=1.37.0
tencentcloud-sdk-python>=3.0.1200
dashscope>=1.24.6
# 图像处理依赖
Pillow>=10.3.0
# 进度条和重试机制
tqdm>=4.66.6
tenacity>=9.0.0
# 可选依赖(根据功能需要)
# 如果需要本地语音识别,取消注释下面的行
# faster-whisper>=1.0.1
# 如果需要 OpenCV 图像处理,取消注释下面的行
# opencv-python>=4.11.0.86
# 如果需要 CUDA 支持,取消注释下面的行
# torch>=2.0.0
# torchvision>=0.15.0
# torchaudio>=2.0.0