Ecoute is a live transcription tool that provides real-time transcripts for both the user's microphone input (You) and the user's speakers output (Speaker) in a textbox. It also generates a suggested response using OpenAI's GPT-3.5 for the user to say based on the live transcription of the conversation.
demo.mp4
Ecoute is designed to help users in their conversations by providing live transcriptions and generating contextually relevant responses. By leveraging the power of OpenAI's GPT-3.5, Ecoute aims to make communication more efficient and enjoyable.
Follow these steps to set up and run Ecoute on your local machine.
- Python >=3.8.0
- An OpenAI API key that can access OpenAI API (set up a paid account OpenAI account)
- Windows OS (Not tested on others)
- FFmpeg
If FFmpeg is not installed in your system, you can follow the steps below to install it.
First, you need to install Chocolatey, a package manager for Windows. Open your PowerShell as Administrator and run the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Once Chocolatey is installed, you can install FFmpeg by running the following command in your PowerShell:
choco install ffmpeg
Please ensure that you run these commands in a PowerShell window with administrator privileges. If you face any issues during the installation, you can visit the official Chocolatey and FFmpeg websites for troubleshooting.
-
Clone the repository:
git clone https://github.com/SevaSk/ecoute
-
Navigate to the
ecoute
folder:cd ecoute
-
Install the required packages:
pip install -r requirements.txt
-
Create a
keys.py
file in the ecoute directory and add your OpenAI 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:
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"
-