-
Notifications
You must be signed in to change notification settings - Fork 941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Value: is not in the list of choices: [] #870
Comments
因为基模型没有预训练音色,删掉了spk2info.pt,如果非要这个,可以从cosyvoice-300m-sft模型下copy这个文件,但注意这个不叫预训练音色 |
请问放到哪个文件下面呢 |
如果你使用的是 cosyvoice2 那么放到 pretrained_models 的 cosyvoice2 的文件夹下即可 |
@youngercloud 我的pretrained_models下没有 cosyvoice2文件 我拉的是最新的代码 |
@qingcaixin 请问解决了吗,我的报错跟你一模一样 |
你只需要将
|
感谢,已解决此问题 |
Value: is not in the list of choices: []
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/queueing.py", line 624, in process_events
response = await route_utils.call_process_api(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/blocks.py", line 2014, in process_api
inputs = await self.preprocess_data(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/blocks.py", line 1709, in preprocess_data
processed_input.append(block.preprocess(inputs_cached))
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/components/dropdown.py", line 202, in preprocess
raise Error(
gradio.exceptions.Error: 'Value: is not in the list of choices: []'
Traceback (most recent call last):
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/queueing.py", line 624, in process_events
response = await route_utils.call_process_api(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/blocks.py", line 2014, in process_api
inputs = await self.preprocess_data(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/blocks.py", line 1709, in preprocess_data
processed_input.append(block.preprocess(inputs_cached))
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/components/dropdown.py", line 202, in preprocess
raise Error(
gradio.exceptions.Error: 'Value: is not in the list of choices: []'
Traceback (most recent call last):
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/queueing.py", line 624, in process_events
response = await route_utils.call_process_api(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/blocks.py", line 2014, in process_api
inputs = await self.preprocess_data(
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/blocks.py", line 1709, in preprocess_data
processed_input.append(block.preprocess(inputs_cached))
File "/mount/data/anaconda3/envs/cosyvoice/lib/python3.10/site-packages/gradio/components/dropdown.py", line 202, in preprocess
raise Error(
gradio.exceptions.Error: 'Value: is not in the list of choices: []' how to solve it?
The text was updated successfully, but these errors were encountered: