Thought I had staged it
This commit is contained in:
@@ -7,19 +7,17 @@ from fastapi import BackgroundTasks
|
||||
class ISpeakingController(ABC):
|
||||
|
||||
@abstractmethod
|
||||
async def get_speaking_part(self, task: int, topic: str, difficulty: str, second_topic: Optional[str] = None):
|
||||
async def get_speaking_part(self, task: int, topic: str, second_topic: str, difficulty: str):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
async def save_speaking(self, data, background_tasks: BackgroundTasks):
|
||||
async def get_avatars(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
async def generate_video(
|
||||
self, part: int, avatar: str, topic: str, questions: list[str],
|
||||
*,
|
||||
second_topic: Optional[str] = None,
|
||||
prompts: Optional[list[str]] = None,
|
||||
suffix: Optional[str] = None,
|
||||
):
|
||||
async def generate_video(self, text: str, avatar: Optional[str]):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
async def pool_video(self, vid_id: str):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user