first commit

This commit is contained in:
Jefferyhcool
2025-04-13 17:44:54 +08:00
commit 0e0b8da317
112 changed files with 4397 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from abc import ABC, abstractmethod
from app.models.transcriber_model import TranscriptResult
class Transcriber(ABC):
@abstractmethod
def transcript(self,file_path:str)->TranscriptResult:
'''
:param file_path:音频路径
:return: 返回一个 TranscriptResult 类
'''
pass