diff --git a/app/services/abc/third_parties/vid_gen.py b/app/services/abc/third_parties/vid_gen.py index 71fd22b..6851abf 100644 --- a/app/services/abc/third_parties/vid_gen.py +++ b/app/services/abc/third_parties/vid_gen.py @@ -14,7 +14,7 @@ class IVideoGeneratorService(ABC): ] @abstractmethod - async def create_video(self, text: str, avatar: str): + async def create_video(self, text: str, avatar: str, title: str): pass @abstractmethod diff --git a/app/services/impl/exam/speaking.py b/app/services/impl/exam/speaking.py index 154bdf5..0a0c918 100644 --- a/app/services/impl/exam/speaking.py +++ b/app/services/impl/exam/speaking.py @@ -1,17 +1,17 @@ import logging import os +import random import re import uuid -import random from typing import Dict, List, Optional -from app.repositories.abc import IFileStorage, IDocumentStore -from app.services.abc import ISpeakingService, ILLMService, IVideoGeneratorService, ISpeechToTextService from app.configs.constants import ( FieldsAndExercises, GPTModels, TemperatureSettings, FilePaths ) from app.helpers import TextHelper +from app.repositories.abc import IFileStorage, IDocumentStore +from app.services.abc import ISpeakingService, ILLMService, IVideoGeneratorService, ISpeechToTextService class SpeakingService(ISpeakingService):