build: Add a requirements.txt for easier setup
This commit is contained in:
parent
1265cfc270
commit
8b5f2539eb
3 changed files with 15 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,5 +1,6 @@
|
|||
.env
|
||||
*.json
|
||||
*.txt
|
||||
!requirements.txt
|
||||
*.csv
|
||||
__pycache__
|
||||
12
README.md
12
README.md
|
|
@ -14,10 +14,14 @@ RPGMaker VX ACE (Mostly, still a WIP)
|
|||
* Python3: https://www.python.org/downloads/
|
||||
|
||||
## Setup:
|
||||
1. Add your API key and Organization Key to a .env file. An example can be found in the repo.
|
||||
2. Add a prompt.txt file using prompt.example as a template. (See ChatGPT Prompt Section)
|
||||
2. Untranslated JSON files go in `/files`. Anything translated will end up in `/translated`
|
||||
3. Run the script either with VSCode or by running .\main.py in a CLI.
|
||||
1. `cd` to the project folder and install the dependencies.
|
||||
|
||||
`pip install -r requirements.txt`
|
||||
|
||||
2. Add your API key and Organization Key to a .env file. An example can be found in the repo.
|
||||
3. Add a prompt.txt file using prompt.example as a template. (See ChatGPT Prompt Section)
|
||||
4. Untranslated JSON files go in `/files`. Anything translated will end up in `/translated`
|
||||
5. Run `main.py` script either with VSCode or by running `.\main.py` in a CLI.
|
||||
|
||||
## ChatGPT Prompt:
|
||||
|
||||
|
|
|
|||
6
requirements.txt
Normal file
6
requirements.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
colorama==0.4.6
|
||||
openai==0.27.4
|
||||
python-dotenv==1.0.0
|
||||
retry==0.9.2
|
||||
tiktoken==0.3.3
|
||||
tqdm==4.65.0
|
||||
Loading…
Reference in a new issue