book translation using Gemini API
pip install -r requirements.txt
make sure to set environment variable GOOGLE_API_KEY
input_path: Path to the input book fileinput_language: Input language of the bookoutput_path: Path to the output translated book fileoutput_language: Target language of the translation
Example:
python translate.py --input_path=input/book1.txt --input_language=Chinese --output_path=output/book1.txt --output_language=English