File size: 249 Bytes
b156b8a
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from abc import ABC, abstractmethod

class AudioTranscriptionProvider(ABC):
    @abstractmethod
    def transcribe(self, audio_path_or_url: str) -> str:
        """
        Transcrit un fichier audio local ou distant (mp3).
        """
        pass