This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Real-time translator that uses Gladia to transcribe and translate any language to English | |
# It displays the translated text on a Pirate Audio display on a Raspberry Pi Zero 2 W | |
from pathlib import Path | |
from dotenv import load_dotenv | |
from livekit.agents import JobContext, WorkerOptions, cli | |
from livekit.agents.voice import Agent, AgentSession | |
from livekit.plugins import gladia | |
from PIL import Image |
OlderNewer