SolusOps/Study-with-ChampAI
0
1from __future__ import annotations2from services.model_router import ModelRouter3 4class SpeechAgent:5 def __init__(self, router: ModelRouter): self._router = router6 7 def transcribe(self, audio_bytes: bytes) -> str:8 if not audio_bytes:9 return ""10 return self._router.transcribe(audio_bytes).strip()11 