Files
shadowcz007-comfyui-mixlab-…/nodes/VoiceStreamAI/asr/asr_interface.py
T
2024-06-02 22:38:15 +08:00

10 lines
398 B
Python

class ASRInterface:
async def transcribe(self, client):
"""
Transcribe the given audio data.
:param client: The client object with all the member variables including the buffer
:return: The transcription structure, see for example the faster_whisper_asr.py file.
"""
raise NotImplementedError("This method should be implemented by subclasses.")