Skip to content
项目

v3ucn/Modelscope_Faster_Whisper_Multi_Subtitle

在 GitHub 查看

关于

基于 Faster-whisper 和 modelscope,一键生成双语字幕。使用离线大模型的双语字幕生成器。

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Modelscope_Faster_Whisper_Multi_Subtitle

基于Faster-whisper和modelscope一键生成双语字幕,双语字幕生成器,基于离线大模型

Generate bilingual subtitles with one click based on Faster-whisper and modelscope. Off-line large model




Quick Install with Conda

conda create -n venv python=3.9
conda activate venv

Install Manually

Make sure you have the distutils for python3 installed

sudo apt-get install python3.9-distutils

Pip Packages

pip install -r requirements.txt

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 

FFmpeg

Conda Users
conda install ffmpeg
Ubuntu/Debian Users
sudo apt install ffmpeg
sudo apt install libsox-dev
conda install -c conda-forge 'ffmpeg<7'
MacOS Users
brew install ffmpeg
Windows Users
winget install ffmpeg

or

choco install ffmpeg

下载 whisper-large-v3-turbo

python3 download_model.py

基于 Ollama 的对话式大模型翻译

ollama run qwen2:7b
ollama serve

how to use

python3 app.py

目前支持双语字幕类型:中英、英中、日中、韩中

avatar

Credits

Special thanks to the following projects and contributors:

探索相关项目

加载中…