Batch import wasn't updated
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user