Update README.md

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

View File

@ -54,16 +54,16 @@ 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: - 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: - 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" OPENAI_API_KEY="API KEY"
``` ```
Replace `API KEY` with your actual OpenAI API key. Replace "API KEY" with your actual OpenAI API key. Save this file as keys.py within the ecoute directory.
### 🎬 Running Ecoute ### 🎬 Running Ecoute