运行时错误:{'reqid': '', 'code': 55000000, 'message': 'json: cannot unmarshal number 5.000000000000004 into Go struct field AudioParams.req_params.audio_params.speech_rate of type int32'}:
Traceback (most recent call last):
File "D:\xigaotest\pytransNew\pyvideotrans\videotrans\util\ListenVoice.py", line 18, in run
tts.run(File "D:\xigaotest\pytransNew\pyvideotrans\videotrans\tts\__init__.py", line 315, in run
Doubao2TTS(**kwargs).run()File "D:\xigaotest\pytransNew\pyvideotrans\videotrans\tts\_base.py", line 177, in run
raise self.error if isinstance(self.error,Exception) else RuntimeError(str(self.error))File "D:\xigaotest\pytransNew\pyvideotrans\videotrans\tts\_base.py", line 210, in _local_mul_thread
self._item_task(item)File "D:\xigaotest\pytransNew\pyvideotrans\videotrans\tts\_doubao2.py", line 249, in _item_task
raise RuntimeError(str(data))RuntimeError: {'reqid': '', 'code': 55000000, 'message': 'json: cannot unmarshal number 5.000000000000004 into Go struct field AudioParams.req_params.audio_params.speech_rate of type int32'}
=
system:Windows-10-10.0.26100-SP0
version:v3.83
frozen:False
language:zh
root_dir:D:/xigaotest/pytransNew/pyvideotrans
Python: 3.10.4 (main, May 28 2022, 20:04:37) [MSC v.1929 64 bit (AMD64)]