Files
audio2text/requirements.txt
zikai 00e2a95fb7 Initial commit: audio2text 双语字幕生成服务
- 音频/视频转双语(英/中)SRT 字幕,Docker 容器化,CPU 开发/GPU 生产同一份代码
- faster-whisper ASR(词级时间戳) + 断句时间戳重算 + NLLB 翻译(模型不共驻)
- 分片上传(断点续传) + SQLite 持久化 + 主页/历史/日志页面
- 历史页文件名搜索;缓存定时清理(默认保留7天,可配置)
- 双 Dockerfile(cpu/gpu) + setup/start/stop 脚本
2026-07-06 06:54:19 +00:00

26 lines
577 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Web 服务(对齐 server 的 FastAPI 栈)
fastapi==0.115.6
uvicorn[standard]==0.34.0
python-multipart==0.0.20
PyYAML==6.0.2
pydantic==2.10.4
pydantic-settings==2.7.1
# 持久化SQLite + SQLAlchemy自包含无需外部 DB
SQLAlchemy==2.0.36
# 音频提取
# ffmpeg 走系统 apt 包,无需 Python 依赖
# 语音识别 —— faster-whisperCTranslate2 后端CPU/GPU 同一份代码)
faster-whisper==1.1.0
ctranslate2==4.5.0
# 翻译 —— NLLB via transformers
transformers==4.47.1
sentencepiece==0.2.0
accelerate==1.2.1
# 工具
psutil==6.1.1