mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-09 17:31:52 -10:00
9 lines
244 B
Python
9 lines
244 B
Python
# Speech-to-Text with Groq (fastest)
|
|
# Requires: export GROQ_API_KEY=your-key
|
|
|
|
from praisonaiagents import AudioAgent
|
|
|
|
agent = AudioAgent(llm="groq/whisper-large-v3")
|
|
text = agent.listen("audio.mp3") # Replace with your audio file
|
|
print(text)
|