PowerPoint Translator is a Python3 script that uses OpenAI's GPT-3 language model to translate the text in a PowerPoint presentation from English to Traditional Chinese.
To run this script, you'll need the following:
- Python3 (version 3.6 or higher)
openai
Python package (version 3.0.0 or higher)pptx
Python package (version 0.6.18 or higher)- A valid OpenAI API key (get one from https://beta.openai.com/docs/api-reference/introduction)
- Clone or download the PowerPoint Translator repository to your local machine.
- Install the required Python packages by running
pip install -r requirements.txt
in your terminal or command prompt.
- Open a terminal or command prompt and navigate to the directory where you saved the PowerPoint Translator repository.
- Run the command
python powerpoint_translator.py
to start the script. - Enter your OpenAI API key when prompted.
- Upload the PowerPoint file you want to translate.
- Wait for the script to translate the text in your PowerPoint file. A progress bar will show you the progress of the translation process.
- When the script has finished, click the "Download