#1873 GPT-SoVITS启动后监听的 IP 地址 和 端口怎么查看

23.165* Posted at: 2 hours ago 👁5

GPT-SoVITS启动后监听的 IP 地址 和 端口怎么查看

1 Replies

要查看 GPT-SoVITS 启动后监听的 IP 地址和端口,请查看其启动时的命令行输出或 Web 界面。

方法一:查看启动日志(最直接)
启动 GPT-SoVITS 后,在命令行窗口或终端中,寻找类似以下内容的行:

Running on local URL:  http://127.0.0.1:9880

Running on public URL: https://xxxxxx.gradio.live

其中 127.0.0.1 是本地 IP 地址,9880 是默认端口。public URL 是 Gradio 生成的外网链接。

方法二:查看 Web 界面地址栏
打开 GPT-SoVITS 的 Web 界面,浏览器地址栏中显示的 URL 就是其监听的地址和端口。通常为 http://127.0.0.1:9880http://localhost:9880

在 pyVideoTrans 中配置:
在 pyVideoTrans 的“配音”角色列表中选择“GPT-SoVITS-Clone”后,需要在弹出的设置框中填写:

  • API地址: 填写你在日志或地址栏中看到的地址和端口,例如 http://127.0.0.1:9880
  • 参考音频: 选择用于克隆声音的音频文件。

如果启动时没有明确输出地址,通常默认就是 http://127.0.0.1:9880

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions