AIMINEM DEMO - Watch Video
- Python (>3.6)
- Sounddevice: for obtaining the audio recording
- OpenAI Whisper: for transcribing the audio recording
- OpenAI GPT-3: for generating a response to the transcribed audio recording
AIMINEM uses a simple interactive CLI program to record audio from a user, then stores the audio stream in a buffer. This audio stream is transcribed using Whisper
, then the transcribed text is used to generate a battle rap response using GPT-3
.
- Clone the repository
$git clone https://github.com/rexsimiloluwah/aiminem
$cd aiminem
- Create/Initialize a virtual environment using
venv
orpoetry
- For
venv
$python -m venv env
$source env/bin/activate
- Install the dependencies using
pip
orpoetry
- For
venv
$pip install -r requirements.txt
- For
poetry
$poetry install
- Update the
.env
file with yourOPENAI_API_KEY
as shown in.env.sample
$cp .env.sample .env
#replace <your_openai_api_key>
- Run the CLI and follow the instructions to use AIMINEM
- For
venv
$python main.py
- For
poetry
$poetry run python -m main.py
- Advanced Usage
To view advanced usage instructions:
$python main.py -h