Skip to content
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

使用文案页合成音频时报错,但聊天页可正常合成音频 #400

Closed
cj0596 opened this issue Nov 5, 2023 · 13 comments
Closed
Labels
bug Something isn't working

Comments

@cj0596
Copy link

cj0596 commented Nov 5, 2023

使用文案页合成音频时报错,但聊天页可正常合成音频

您使用的版本? | Your usage version?

例如:20231015

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10.11
系统:win11

您使用的场景? | Your usage scenarios?

使用文案页合成音频

您做了什么操作? | What did you do?

单机模式下连接 Bert-Vits2 模型,聊天页合成音频正常

您遇到了什么问题? | What are your problems?

点击合成音频报错合成失败,请查看原因“”

您期望的结果是怎样的? | What is your expected outcome?

文案页可正常合成音频
屏幕截图 2023-11-06 001833

@cj0596 cj0596 added the bug Something isn't working label Nov 5, 2023
@Ikaros-521
Copy link
Owner

文案音频的合成并没有兼容所有的tts,bert估计没做兼容

@Ikaros-521
Copy link
Owner

应该是这个问题,已经更新 #404

@cj0596
Copy link
Author

cj0596 commented Nov 7, 2023

应该是这个问题,已经更新 #404

你好,我刚刚用了您更新过的完整版本文件(覆盖原整合包,可正常运行),发现问题依旧存在,已检查过audio.py更新代码,确认有更新成功,可能还得麻烦您再看一下,辛苦了!
QQ20231107-151142@2x

@Ikaros-521
Copy link
Owner

看看你tts的配置,这个type怎么会错呢,这个type我记得是下拉选择框呀
image

@cj0596
Copy link
Author

cj0596 commented Nov 7, 2023

看看你tts的配置,这个type怎么会错呢,这个type我记得是下拉选择框呀 image

你好,我检查了下,类型刚才是有选错。但后来我选择“Bert-vits2”之后再尝试,依旧是相同的报错。
QQ20231107-153039@2x

目前的情况是,VITS类型换为“Bert-vits2”,使用“聊天页”可正常生成语音,相关指令有被 vits-simple-api 识别转换:
QQ20231107-153151@2x

但在“文案页”生成语音,vits-simple-api 并没有接收到新消息,运行页依旧有如下报错:
QQ20231107-153330@2x

@Ikaros-521
Copy link
Owner

ok 回头我看看,那就问题不简单了

@cj0596
Copy link
Author

cj0596 commented Nov 7, 2023

ok 回头我看看,那就问题不简单了

嗯嗯,辛苦您了!

@Ikaros-521
Copy link
Owner

不过其实我是不建议使用内置的进行文案合成的,还是外面单独合成后,把音频合并下比较好。
内置的这块合成 之后也是准备拆一个单独的项目出来重新优化下

@cj0596
Copy link
Author

cj0596 commented Nov 7, 2023

不过其实我是不建议使用内置的进行文案合成的,还是外面单独合成后,把音频合并下比较好。 内置的这块合成 之后也是准备拆一个单独的项目出来重新优化下

嗯,主要是体感上集成在一起确实能方便不少,文案页能正常运作的话还是很给力的!

@Ikaros-521
Copy link
Owner

暂时还是能修一修的()

@cj0596
Copy link
Author

cj0596 commented Nov 7, 2023

暂时还是能修一修的()

那太好了,感恩感恩!

@Ikaros-521
Copy link
Owner

已修复 #413

@Ikaros-521
Copy link
Owner

文案合成 单独项目,已排入开发计划

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants