8000 [Fix] 🚀 为剩下文件做出修改,完善 `api.py` 对 `v3` 的适配支持,可直接运行使用 by Intro-iu · Pull Request #2182 · RVC-Boss/GPT-SoVITS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Fix] 🚀 为剩下文件做出修改,完善 api.pyv3 的适配支持,可直接运行使用 #2182

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Intro-iu
Copy link

🚀 完善 v3 适配

📕修改内容

  • 添加 BigVGAN 工作目录,正确导入 activations
  • 对模型 nvidia/bigvgan_v2_24khz_100band_256x 的下载进行补充
  • 更改 fast_langdetect 的自定义为可选项

⭐ 结果

附运行成功截图(使用api.py,调用v3模型):

8f335dfe75582854324c68381312bad

👀 Tips

启动参数如下,供参考:

"args": [
    "-d", "cuda",
    "-dr", "ref_audio/Aris_MemorialLobby_5_2.ogg",
    "-dt", "先生と一緒にこの世界のことをもっと学びたいです!",
    "-dl", "ja",
    "-a", "127.0.0.1",
    "-p", "5980"
],

测试环境:

  • 运行框架: uv
  • Python 版本: cpython-3.10.16-windows-x86_64-none
  • CUDA 版本: CUDA 12.6
  • 硬件环境如下图:
19a30c1267500cb883365b93ce565ca

@Intro-iu Intro-iu changed the title [Fix] 为剩下文件做出修改,完善 api.pyv3 的适配支持,可直接运行使用 [Fix] 🚀 为剩下文件做出修改,完善 api.pyv3 的适配支持,可直接运行使用 Mar 12, 2025
@RVC-Boss
Copy link
Owner

我抽空测测

@Intro-iu
Copy link
Author

我抽空测测

豪德

@KamioRinn
Copy link
Contributor

改fast_langdetect是怕他拉外面去

@@ -15,6 +15,9 @@
pretrained_sovits_path = "GPT_SoVITS/pretrained_models/s2G488k.pth"
pretrained_gpt_path = "GPT_SoVITS/pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt"

# 部分模型的启用
enable_costum_langdetect = False
Copy link
@yanyin1986 yanyin1986 Apr 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: costum -> custom

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

Successfully merging this pull request may close these issues.

4 participants
0