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

POST /tts HTTP/1.1 400 Bad Request #252

Closed
ryonWang opened this issue Nov 11, 2024 · 8 comments
Closed

POST /tts HTTP/1.1 400 Bad Request #252

ryonWang opened this issue Nov 11, 2024 · 8 comments

Comments

@ryonWang
Copy link

截屏2024-11-11 14 39 49 截屏2024-11-11 14 39 36 集成soVITS的时候,本地vits已经联调并启动成功,并可以独立执行。但是lingo再启动调用的时候,报/tts这个请求400,我看了请求json的申明,是 json=payload,不知道是不是这里问题,谁遇到了,怎么改的,请赐教
@mthezi
Copy link
Contributor

mthezi commented Nov 11, 2024

选的是不是模式3

@ryonWang
Copy link
Author

选的是不是模式3

选的模式1

@mthezi
Copy link
Contributor

mthezi commented Nov 11, 2024

检查一下,提供的查看音频存不存在,是否遵循对应格式 xxx_参考文本

@ryonWang
Copy link
Author

检查一下,提供的查看音频存不存在,是否遵循对应格式 xxx_参考文本

是的,我是按照参考来设置的,并且放置到了相应的文件夹内。截图里,我这个名称是否标准
截屏2024-11-11 15 30 00

@mthezi
Copy link
Contributor

mthezi commented Nov 11, 2024

image

在这里打印payload,看传过去给gpt-sovits的数据

@ryonWang
Copy link
Author

image

在这里打印payload,看传过去给gpt-sovits的数据
print了,我没看出有啥问题,我发截图帮忙看下是否有问题

截屏2024-11-11 15 50 12

@mthezi
Copy link
Contributor

mthezi commented Nov 11, 2024

那就检查一下这个文件存不存在,有没有读取权限。
如果还是无法解决,那么就打开gpt-sovits去debug,看它具体报什么错

@Huanshere
Copy link
Owner

鉴于此 bug 无法复现,我先关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants