babeaf6
1
2
3
4
5
6
7
8
9
from abc import ABC, abstractmethod class SpeechToText(ABC): @abstractmethod def transcribe(self, audio_bytes, platform='web', prompt='') -> str: # platform: 'web' | 'mobile' | 'terminal' pass