mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-05-24 22:43:26 +00:00
fix: [#47] voice_models must be declared
This commit is contained in:
parent
d7528028ce
commit
881c611650
|
@ -12,7 +12,7 @@ class TTSBaseRepository(abc.ABC):
|
||||||
@property
|
@property
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def voice_models(self) -> models.LIST_VOICE_MODELS_TYPE:
|
def voice_models(self) -> models.LIST_VOICE_MODELS_TYPE:
|
||||||
...
|
raise NotImplementedError
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def get_audio_as_bytes(self, request: models.TTSCreateRequestModel) -> models.TTSCreateResponseModel:
|
def get_audio_as_bytes(self, request: models.TTSCreateRequestModel) -> models.TTSCreateResponseModel:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user