ENCOA-276, ENCOA-277

This commit is contained in:
Carlos-Mesquita
2024-12-21 19:27:14 +00:00
parent 0262971b11
commit 09d6242360
25 changed files with 375 additions and 86 deletions

View File

@@ -1,8 +1,14 @@
from abc import ABC, abstractmethod
from typing import List
class ISpeechToTextService(ABC):
@abstractmethod
async def speech_to_text(self, file: bytes):
async def speech_to_text(self, file: str):
pass
@staticmethod
@abstractmethod
async def fix_overlap(llm, segments: List[str]):
pass