大幅优化语音助手

This commit is contained in:
binary-husky
2023-10-09 01:18:05 +08:00
parent 02c270410c
commit 500a0cbd16
3 changed files with 162 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ class RealtimeAudioDistribution():
def read(self, uuid):
if uuid in self.data:
res = self.data.pop(uuid)
print('\r read-', len(res), '-', max(res), end='', flush=True)
# print('\r read-', len(res), '-', max(res), end='', flush=True)
else:
res = None
return res