This commit is contained in:
SevaSk 2023-05-31 17:30:20 -04:00
commit 70f667556d

View File

@ -15,7 +15,7 @@ Follow these steps to set up and run Ecoute on your local machine.
### 📋 Prerequisites
- Python 3.x
- Python >=3.8.0
- An OpenAI API key
- Windows OS (Not tested on others)
- FFmpeg
@ -54,11 +54,18 @@ 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:
```
python -c "with open('keys.py', 'w', encoding='utf-8') as f: f.write('OPENAI_API_KEY=\"API KEY\"')"
```
- Option 1: You can utilize a command on your command prompt. Run the following command, ensuring to replace "API KEY" with your actual OpenAI API key:
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\"')"
```
- 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. Save this file as keys.py within the ecoute directory.
### 🎬 Running Ecoute