fish-speech
fish-speech copied to clipboard
[BUG]勾选Compile Model进入推理界面之后就推理失败,勾选NO 就可以推理
错误日志为:
Traceback (most recent call last):
File "/root/anaconda3/envs/fish-speech/lib/python3.10/site-packages/gradio/queueing.py", line 527, in process_events
response = await route_utils.call_process_api(
File "/root/anaconda3/envs/fish-speech/lib/python3.10/site-packages/gradio/route_utils.py", line 270, in call_process_api
output = await app.get_blocks().process_api(
File "/root/anaconda3/envs/fish-speech/lib/python3.10/site-packages/gradio/blocks.py", line 1897, in process_api
data = await self.postprocess_data(fn_index, result["prediction"], state)
File "/root/anaconda3/envs/fish-speech/lib/python3.10/site-packages/gradio/blocks.py", line 1673, in postprocess_data
self.validate_outputs(fn_index, predictions) # type: ignore
File "/root/anaconda3/envs/fish-speech/lib/python3.10/site-packages/gradio/blocks.py", line 1649, in validate_outputs
raise ValueError(
ValueError: An event handler (inference_wrapper) didn't receive enough output values (needed: 5, received: 4).
Wanted outputs:
[<gradio.components.audio.Audio object at 0x7fd1bc759f90>, <gradio.components.audio.Audio object at 0x7fd1bc759a80>, <gradio.components.audio.Audio object at 0x7fd1bc759d50>, <gradio.components.audio.Audio object at 0x7fd1bc759e70>, <gradio.components.html.HTML object at 0x7fd1bc72bd90>]
Received outputs:
[None, <gradio.components.audio.Audio object at 0x7fd0bacbaad0>, <gradio.components.audio.Audio object at 0x7fd0c80ccdf0>, None]
使用wsl2运行