Batch import wasn't updated

This commit is contained in:
Carlos-Mesquita
2024-11-06 11:01:39 +00:00
parent e51cd891d2
commit a2e96f8e54
18 changed files with 124 additions and 78 deletions

View File

@@ -16,6 +16,10 @@ class IListeningService(ABC):
async def get_listening_question(self, section: int, dto):
pass
@abstractmethod
async def generate_mp3(self, dto) -> bytes:
pass
@abstractmethod
async def get_dialog_from_audio(self, upload: UploadFile):
pass

View File

@@ -9,7 +9,7 @@ class ITextToSpeechService(ABC):
pass
@abstractmethod
async def text_to_speech(self, text: Union[list[str], str], file_name: str):
async def text_to_speech(self, dialog) -> bytes:
pass
@abstractmethod

View File

@@ -6,5 +6,5 @@ from app.dtos.user_batch import BatchUsersDTO
class IUserService(ABC):
@abstractmethod
async def fetch_tips(self, batch: BatchUsersDTO):
async def batch_users(self, batch: BatchUsersDTO):
pass