Skip to content

irvifa/assemblyai-and-python-in-5-minutes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speech-recognition-in-5-minutes-with-python

Repo for hosting tutorial code associated with the AssemblyAI and Python in 5 Minutes blog by AssemblyAI

Requirements

$ pip install requests

Usage:

If your AssemblyAI API key is stored as an environment variable called AAI_API_KEY file, then you can omit the optional --api_key argument.

$ python transcribe.py audio_file [--local] [--api_key=<YOUR-API-KEY>"]

Example for hosted file:

$ python transcribe.py https://github.com/AssemblyAI-Examples/assemblyai-and-python-in-5-minutes/raw/main/audio.mp3 --api_key=<YOUR-API-KEY>

Example for local file:

$ python transcribe.py audio.mp3 --local --api_key=<YOUR-API-KEY>

About

Repo for hosting tutorial code associated with the "AssemblyAI and Python in 5 Minutes" blog by AssemblyAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%