NarratoAI/requirements.txt

38 lines
842 B
Plaintext

# 核心依赖
requests>=2.32.0
moviepy==2.1.1
edge-tts==6.1.19
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
litellm>=1.70.0 # 统一的 LLM 接口,支持 100+ providers
google-generativeai>=0.8.5 # LiteLLM 会使用此库调用 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