Merge remote-tracking branch 'origin/develop' into release/async
This commit is contained in:
@@ -14,7 +14,7 @@ class IVideoGeneratorService(ABC):
|
|||||||
]
|
]
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
async def create_video(self, text: str, avatar: str):
|
async def create_video(self, text: str, avatar: str, title: str):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
import random
|
||||||
import re
|
import re
|
||||||
import uuid
|
import uuid
|
||||||
import random
|
|
||||||
from typing import Dict, List, Optional
|
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 (
|
from app.configs.constants import (
|
||||||
FieldsAndExercises, GPTModels, TemperatureSettings,
|
FieldsAndExercises, GPTModels, TemperatureSettings,
|
||||||
FilePaths
|
FilePaths
|
||||||
)
|
)
|
||||||
from app.helpers import TextHelper
|
from app.helpers import TextHelper
|
||||||
|
from app.repositories.abc import IFileStorage, IDocumentStore
|
||||||
|
from app.services.abc import ISpeakingService, ILLMService, IVideoGeneratorService, ISpeechToTextService
|
||||||
|
|
||||||
|
|
||||||
class SpeakingService(ISpeakingService):
|
class SpeakingService(ISpeakingService):
|
||||||
|
|||||||
Reference in New Issue
Block a user