雾聪
2024-01-26 5d300aed521d531ba9ac119dcf1ae837a94cd173
runtime/python/websocket/funasr_wss_client.py
@@ -192,7 +192,7 @@
                params = wav_file.getparams()
                sample_rate = wav_file.getframerate()
                frames = wav_file.readframes(wav_file.getnframes())
                audio_bytes = bytes(frames)
                audio_bytes = bytes(frames)
        else:
            wav_format = "others"
            with open(wav_path, "rb") as f: