Update README.md

This commit is contained in:
Seva 2023-05-30 21:36:05 -04:00 committed by GitHub
parent 46d37a3df9
commit 1e96946122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,10 +54,15 @@ Please ensure that you run these commands in a PowerShell window with administra
4. Create a `keys.py` file in the ecoute directory and add your OpenAI API key: 4. Create a `keys.py` file in the ecoute directory and add your OpenAI API key:
-Option 1: You can utilize a command on your terminal. Run the following command, ensuring to replace "API KEY" with your actual OpenAI API key:
``` ```
python -c "with open('keys.py', 'w', encoding='utf-8') as f: f.write('OPENAI_API_KEY=\"API KEY\"')" python -c "with open('keys.py', 'w', encoding='utf-8') as f: f.write('OPENAI_API_KEY=\"API KEY\"')"
``` ```
-Option 2: You can create the keys.py file manually. Open up your text editor of choice and enter the following content:
```
OPENAI_API_KEY="API KEY"
```
Replace `API KEY` with your actual OpenAI API key. Replace `API KEY` with your actual OpenAI API key.
### 🎬 Running Ecoute ### 🎬 Running Ecoute