update: 更新了进入沉默模式的功能

This commit is contained in:
killua committed 2024-06-12 22:56:39 +08:00
1 parent 76c7adc1b5
commit 34f3fd62f5
4 files changed
+34

No files matched your search

+2
View File
@@ -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