-
Notifications
You must be signed in to change notification settings - Fork 118
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
大佬请教一下,我用wechat机器人请求vits-simple-api,反馈语音合成失败,该如何解决。 #36
Comments
看看是不是post请求的代码写错了,可以把微信机器人项目里的post方法单独拿出来测试一下, |
我的建议是先单独测试vits-simple-api能否正常工作,发送请求返回的语音是否正常。不这样我无法确定是哪个环节出现了问题。 |
大佬,我单独运行vits-simpe-api数据库的python app.py后,终端显示如下日志: 在网页打开http://127.0.0.1:23456/,显示如下: 在页面打开[http://127.0.0.1:23456/voice/speakers,显示如下: 是不是我在配置vits-simple-api的时候,还是有错误的操作 |
应该是忘记配置模型了,没有模型用不了。vits-simple-api里不带模型,模型要另外下载 |
大佬,按照readme的流程和目录规范,已经准备好Model且在config.py中配置了对应的路径。 python app.py,在网页打开以下地址 |
要在 |
这个是hubert模型被识别成了w2v2模型,config.json是否是模型对应的文件。另外如果只需要语音合成的话其实hubert模型没有用 |
噢,你下的Nene_Nanami_Rong_Tang是w2v2模型,但第三个位置应该填写npy文件,例如 |
访问 者是否意味着已经成功运行vist-simple-api了? |
是的 |
谢谢大佬指点,我现在去试试微信机器人请求vits-simple-api. |
微信机器人能请求vits-simple-api,但是提示缺少pyopenjtalk依赖库。我pip install pyopenjtalk,怎么都装不上 × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
试试 |
不客气 |
大佬您好,最近在测试微信机器人的语音合成方案,在调用咱们家的vist-simple-api时遇到了点问题,想请教您。
前置确认
1.我确认我运行的是最新版本的代码,并且安装了所需的依赖
搜索issues中是否已存在类似问题
2.我已经搜索过issues,没有跟我遇到的问题相关的issue
操作系统类型?
Windows 10 专业版(21H2)
运行的python版本是?
python 3.10.8
复现步骤 🕹
启动终端——>激活环境变量(fort)——>python app.py——>给微信机器人发语音——>请求失败
问题描述 😯
在微信机器人项目(https://github.com/zhayujie/chatgpt-on-wechat) 中调用仓库的语音合成api,现实语音合成失败。
终端日志 📒
127.0.0.1 - - [14/May/2023 13:12:40] "POST /voice HTTP/1.1" 400 -
The text was updated successfully, but these errors were encountered: