mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-09-05 15:46:48 +08:00
first commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user