10 lines
398 B
Python
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.")
|