Skip to content

kojira/tube-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tube-translator

Specify the youtube url to download the audio of the target video and do the following

  • Transcription in English
  • Translate English to Japanese
  • Summarize in English
  • Summarize in Japanese
  • Summarize in Japanese in chapters

GPU use is recommended due to the large-v3 model of faster-whisper.

preparation

cp .env.example .env

replace your openai api key

OPENAI_API_KEY="replace your own openai api key"

build container

docker build

execution

login container

docker compsoe up -d
docker compsoe exec tube-translator bash

example

python main.py "youtube_url" --output "output_path" --chunk_size 30

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published