This repository contains the lang-indent of the Netflux ESIR project used to identify the language of a video and to generate subtitles.
git clone https://github.com/NetfluxESIR/lang-indent.git
cd lang-indent
poetry install
poetry run python app.py [command]
docker run ghcr.io/netfluxesir/lang-indent:latest [command]
Note: you can also use the docker-compose.yml file to run the lang-indent locally.
Usage: app.py [OPTIONS]
Options:
-i, --input FILE Input file path [required]
-t, --task-type TEXT Task type to run [default:
TaskType.language_detection] [language_detection | subtitle_generation]
-o, --output-dir DIRECTORY Output directory path [default: /home/sugat
e/Documents/cours/cloud/final/lang-indent]
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified shell, to
copy it or customize the installation.
--help Show this message and exit.