This commit is contained in:
Papa 2025-08-15 18:19:28 +00:00 committed by GitHub
commit f8b71b3024
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,8 +63,6 @@ class Funasr_websocket_recognizer:
)
self.thread_msg.start()
chunk_size = [int(x) for x in chunk_size.split(",")]
stride = int(60 * chunk_size[1] / chunk_interval / 1000 * 16000 * 2)
chunk_num = (len(audio_bytes) - 1) // stride + 1
message = json.dumps(
{