Generate bilingual subtitles with one click based on Faster-whisper and modelscope. Off-line large model
conda create -n venv python=3.9
conda activate venvsudo apt-get install python3.9-distutilspip install -r requirements.txtpip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 conda install ffmpegsudo apt install ffmpeg
sudo apt install libsox-dev
conda install -c conda-forge 'ffmpeg<7'brew install ffmpegwinget install ffmpegor
choco install ffmpeg
python3 download_model.py
ollama run qwen2:7b
ollama serve
python3 app.py
Special thanks to the following projects and contributors:
