Introduce dataclasses for configuring model settings
This commit is contained in:
@@ -18,11 +18,13 @@ from pathlib import Path
|
||||
|
||||
from gajim.gtk.const import Setting
|
||||
|
||||
from ..helper import Results
|
||||
|
||||
|
||||
class Model(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def transcribe(self, audio_file: Path) -> str:
|
||||
def transcribe(self, result: Results, audio_file: Path) -> str:
|
||||
return ''
|
||||
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user