Now grading is partitioned into smaller chunks so that whisper doesnt struggle

This commit is contained in:
Carlos-Mesquita
2024-11-27 08:07:54 +00:00
parent 47cdfe1478
commit 6681b2d0e9
9 changed files with 228 additions and 59 deletions

View File

@@ -4,5 +4,5 @@ from abc import ABC, abstractmethod
class ISpeechToTextService(ABC):
@abstractmethod
async def speech_to_text(self, file_path):
async def speech_to_text(self, file: bytes):
pass