Companion repo for the YouTube Short - Transcribe your ideas like Kevin Hart Using AssemblyAI
You can run the application without changes, just add your AssemblyAI API key.
You must have:
- Python installed
- pip installed
- An AssemblyAI account
-
Clone this repository and cd into it
git clone https://github.com/AssemblyAI-Examples/kevin-hart-demo.git cd kevin-hart-demo
-
Create and activate a virtual environment (optional)
MacOS/Linux:
python -m venv venv # you may need to use `python3` instead source ./venv/bin/activate
Windows:
python -m venv venv # you may need to use `python3` instead .\venv\Scripts\activate.bat
-
Install dependencies
pip install -r requirements.txt
-
Set your AssemblyAI API key as an environment variable (you can get a key here)
# Mac/Linux:
export ASSEMBLYAI_API_KEY=<YOUR_KEY>
# Windows:
set ASSEMBLYAI_API_KEY=<YOUR_KEY>
- Run
python run.py
to locally run the Kevin Hart Demo App
- Record a voice memo or have any audio file handy.
Note: You'll need to save the voice memo by clicking the ellipsis and selecting 'Save to Files' - Navigate to the 'Transcripts' page.
- Click the 'Choose File' button and upload your voice memo/audio file.
- Once the transcript has been processed, you can find the transcript result and audio file under the 'Transcripts' header.