update: 更新了进入沉默模式的功能
This commit is contained in:
1 parent
76c7adc1b5
commit
34f3fd62f5
4 files changed
+34
No files matched your search
@@ -2,6 +2,8 @@ from abc import ABC, abstractmethod
|
||||
|
||||
#------ 抽象 ASR, LLM, TTS 类 ------ #
|
||||
class ASR(ABC):
|
||||
def __init__(self):
|
||||
self.is_slience = False
|
||||
@abstractmethod
|
||||
async def stream_recognize(self, chunk):
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user