pycui's picture
Add RealChar deployment for HuggingFace (V0)
babeaf6
raw
history blame contribute delete
219 Bytes
from abc import ABC, abstractmethod
class SpeechToText(ABC):
@abstractmethod
def transcribe(self, audio_bytes, platform='web', prompt='') -> str:
# platform: 'web' | 'mobile' | 'terminal'
pass