This project is to use ChatGPT to translate PDF documents into Chinese.
Use the package manager pip to install foobar.
pip install pypdf && pip install nltk && pip install openai
-
Paste your token into the translate.py file on line 16.
-
Execute the following command.
python translate.py -f YourDocument.pdf