This project has the objective to ilustrate how to perform an audio transcription using the Whisper AI model from OpenAI.
Further read: Introducing Whisper AI
- Clone the project:
git clone https://github.com/williambrunos/whisper-AI-audio-transcriber.git
- Open the project locally
- Rename the
.env.example
file to.env
- Fill the value of the property
OPENAI_API_KEY
in the.env
file with your own openai key
You can see how to set up an openai key in this tutorial:
- Set up a python venv
python -m venv venv
- Activate the venv with one of the following commands
For windows cmd
venv\Scripts\activate
For windows powershell
venv\Scripts\Activate.ps1
For linux and mac os
venv\Scripts\activate.bat
- Install the dependencies in the venv
pip install -r requirements.txt
- Run the project
python main.py