bugfix
This commit is contained in:
parent
f8012d6613
commit
b71e533e85
@ -107,6 +107,7 @@ class RTCLLM:
|
|||||||
self.onlineList = data.onlineList
|
self.onlineList = data.onlineList
|
||||||
|
|
||||||
async def vad_voiceend(self, peer, audio):
|
async def vad_voiceend(self, peer, audio):
|
||||||
|
if audio is not None:
|
||||||
ret = await self.feed(audio)
|
ret = await self.feed(audio)
|
||||||
print(f'self.feed("{audio}") return {ret}')
|
print(f'self.feed("{audio}") return {ret}')
|
||||||
os.remove(audio)
|
os.remove(audio)
|
||||||
|
Loading…
Reference in New Issue
Block a user