12585406ec33e32738ee91fcfa14aee2229141f5
AutoTranslate
Automatically translate .ass subtitles locally with seamless-m4t-v2 machine translation.
Setup
-
Create Python venv
# Python 3.10 is recommended python3.10 -m venv .venv # Enable venv source .venv/bin/activate
-
Install dependencies
# Required for torch pip install typing-extensions # Important to use the cuda version pip install torch torchvision --index-url https://download.pytorch.org/whl/cu12 # Other pip install transformers sentencepiece sacremoses protobuf
Usage
- Place
eng.ass
inside1-Input
folder - Run
AutoTrans.py
with Python in terminal (don't forget to enable venv)
Description
Languages
Python
100%