#2907 RuntimeError: TTS-API:合成失败:Cannot find a function with `api_name`: /tts_inference.

31.223* Posted at: 23 hours ago 👁13

TTS-API:合成失败:Cannot find a function with api_name: /tts_inference.:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 299, in run
File "videotrans\tts\_base.py", line 179, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_ttsapi.py", line 69, in _run
RuntimeError: TTS-API:合成失败:Cannot find a function with api_name: /tts_inference.


=
system:Windows-10-10.0.19045-SP0
version:v3.92
frozen:True
language:zh
root_dir:A:/

1 Replies

查看文档 https://pyvideotrans.com/ttsapi
必须确保你的接口返回的数据类型符合要求

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource