Skip to content

Instantly share code, notes, and snippets.

View m-ods's full-sized avatar
🚢

Martin Schweiger m-ods

🚢
View GitHub Profile
@m-ods
m-ods / system_audio.py
Last active September 27, 2024 02:30
Transcribe system-audio with AssemblyAI (macOS)
import assemblyai as aai
import pyaudio
import asyncio
import sys
# You'll need to install these dependencies:
# pip install assemblyai pyaudio
# Set your AssemblyAI API key
aai.settings.api_key = "YOUR-API-KEY"