-
Notifications
You must be signed in to change notification settings - Fork 110
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
gpt sovits的工作流用不了啊 #126
Comments
我觉得可能有以下几个原因: 不要改我的代码,使用时,需要下载GPT-sovits项目和对应的基底模型到本地,然后在GPT-sovits项目文件夹下用 然后你这个语言是选择的中文,你的输入里有英文,会让GSV报错。 |
Baidu cloud address, 解压码: qyhu |
谢谢回答,我是在github的花佬那边下的一键包,肯定没问题。当然我也把文本换成了纯中文,同样使用了提示中的 api_v2.py。报错还是同样的(我还担心api.py的问题顺便也用了一下不过报错换成另一个),我已经放弃了,虽然心里还在挣扎,谢谢大佬的解答 |
还有可能是代理的问题,把VPN关了试试? |
直接运行报错了,我是有本地gpt sovits的同时也是运行着的,开始报错提示端口错误,我看了下gpt sovits的网页端口是9874,工作流里用的是9880,然后我打开gpt_sovits.py把所有端口都改掉了,比如
def post_tts(data):
url = "http://127.0.0.1:9874/tts"
headers = {
'Connection': 'close'
}
response = requests.post(url, json=data, headers=headers, stream=True)
if response.status_code == 200:
return response.content # 返回音频流
else:
return response.json() # 返回错误信息
控制服务器的函数
def control_server(command):
url = "http://127.0.0.1:9874/control"
params = {"command": command}
response = requests.get(url, params=params)
return response.status_code
反正和端口有关的都改了,但还是用不了啊,难道是我改错了?抱歉我不是很懂程序,这次报错不是提示端口错误,而是提示
error.txt
另一个gstts的节点一大堆环境冲突,只能靠你了啊!
The text was updated successfully, but these errors were encountered: