SightLine / src /speech /stt.py
LovnishVerma's picture
Upload 42 files
88fe4e7 verified
Raw
History Blame Contribute Delete
533 Bytes
class STTEngine:
"""Abstract interface for Speech-to-Text."""
def load(self):
"""Initialize the STT model/provider."""
pass
def transcribe(self, audio_file: str) -> str:
"""Transcribe an audio file into text."""
return ""
class MockSTT(STTEngine):
"""Fallback mock STT since we are focusing on UI/Vision first."""
def transcribe(self, audio_file: str) -> str:
return "describe the scene"
# Future integration with faster-whisper goes here.