From 0899b7e432561c6db3b33b2556fbb0bde25f2725 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 10 Jul 2025 17:59:49 +0800 Subject: [PATCH 01/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e67288ea..6bcb2844 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A Powerful Few-shot Voice Conversion and Text-to-Speech WebUI.

[![Train In Colab](https://img.shields.io/badge/Colab-Training-F9AB00?style=for-the-badge&logo=googlecolab)](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb) [![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) -[![Huggingface](https://img.shields.io/badge/HuggingFace-demo-blue.svg?style=for-the-badge&logo=huggingface)](https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2) +[![Huggingface](https://img.shields.io/badge/HF-online_demo-blue.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) [![Image Size](https://img.shields.io/docker/image-size/xxxxrt666/gpt-sovits/latest?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xxxxrt666/gpt-sovits) [![简体中文](https://img.shields.io/badge/简体中文-阅读文档-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) From 3a75f5023feea209b256c2943cfb42418313ba28 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 10 Jul 2025 18:05:03 +0800 Subject: [PATCH 02/11] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6bcb2844..6cb19092 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,13 @@ A Powerful Few-shot Voice Conversion and Text-to-Speech WebUI.

[![Train In Colab](https://img.shields.io/badge/Colab-Training-F9AB00?style=for-the-badge&logo=googlecolab)](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb) -[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) -[![Huggingface](https://img.shields.io/badge/HF-online_demo-blue.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) +[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-blue.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) [![Image Size](https://img.shields.io/docker/image-size/xxxxrt666/gpt-sovits/latest?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xxxxrt666/gpt-sovits) [![简体中文](https://img.shields.io/badge/简体中文-阅读文档-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) [![English](https://img.shields.io/badge/English-Read%20Docs-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://rentry.co/GPT-SoVITS-guide#/) [![Change Log](https://img.shields.io/badge/Change%20Log-View%20Updates-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md) +[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) **English** | [**中文简体**](./docs/cn/README.md) | [**日本語**](./docs/ja/README.md) | [**한국어**](./docs/ko/README.md) | [**Türkçe**](./docs/tr/README.md) From 97e37c74d8dc8704bc8192caf61cea67156af1dc Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 10 Jul 2025 18:06:04 +0800 Subject: [PATCH 03/11] Update README.md --- docs/cn/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cn/README.md b/docs/cn/README.md index 77841b99..39e37a42 100644 --- a/docs/cn/README.md +++ b/docs/cn/README.md @@ -8,13 +8,13 @@ RVC-Boss%2FGPT-SoVITS | Trendshift [![Train In Colab](https://img.shields.io/badge/Colab-Training-F9AB00?style=for-the-badge&logo=googlecolab)](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb) -[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) -[![Huggingface](https://img.shields.io/badge/HuggingFace-demo-blue.svg?style=for-the-badge&logo=huggingface)](https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2) +[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-blue.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) [![Image Size](https://img.shields.io/docker/image-size/xxxxrt666/gpt-sovits/latest?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xxxxrt666/gpt-sovits) [![简体中文](https://img.shields.io/badge/简体中文-阅读文档-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) [![English](https://img.shields.io/badge/English-Read%20Docs-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://rentry.co/GPT-SoVITS-guide#/) [![Change Log](https://img.shields.io/badge/更新日志-查看更新-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/cn/Changelog_CN.md) +[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) [**English**](../../README.md) | **中文简体** | [**日本語**](../ja/README.md) | [**한국어**](../ko/README.md) | [**Türkçe**](../tr/README.md) From e63e0901fd62a8ce471507828fa281e895f32b7a Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 10 Jul 2025 18:12:24 +0800 Subject: [PATCH 04/11] Update assets.py --- tools/assets.py | 89 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 67 insertions(+), 22 deletions(-) diff --git a/tools/assets.py b/tools/assets.py index 28d0f6b4..533a020c 100644 --- a/tools/assets.py +++ b/tools/assets.py @@ -1,38 +1,81 @@ js = """ -function deleteTheme() { +function createGradioAnimation() { -const params = new URLSearchParams(window.location.search); -if (params.has('__theme')) { - params.delete('__theme'); - const newUrl = `${window.location.pathname}?${params.toString()}`; - window.location.replace(newUrl); -} + const params = new URLSearchParams(window.location.search); + if (params.get('__theme') !== 'light') { + params.set('__theme', 'light'); // 仅当 __theme 不是 'light' 时设置为 'light' + window.location.search = params.toString(); // 更新 URL,触发页面刷新 + } + + var container = document.createElement('div'); + container.id = 'gradio-animation'; + container.style.fontSize = '2em'; + container.style.fontWeight = '500'; + container.style.textAlign = 'center'; + container.style.marginBottom = '20px'; + container.style.fontFamily = '-apple-system, sans-serif, Arial, Calibri'; + var text = 'Welcome to GPT-SoVITS !'; + for (var i = 0; i < text.length; i++) { + (function(i){ + setTimeout(function(){ + var letter = document.createElement('span'); + letter.style.opacity = '0'; + letter.style.transition = 'opacity 0.5s'; + letter.innerText = text[i]; + + container.appendChild(letter); + + setTimeout(function() { + letter.style.opacity = '1'; + }, 50); + }, i * 250); + })(i); + } + return 'Animation created'; } """ + css = """ /* CSSStyleRule */ + .markdown { + background-color: lightblue; padding: 6px 10px; } -@media (prefers-color-scheme: light) { - .markdown { - background-color: lightblue; - color: #000; - } -} - -@media (prefers-color-scheme: dark) { - .markdown { - background-color: #4b4b4b; - color: rgb(244, 244, 245); - } +.checkbox_info { + color: var(--block-title-text-color) !important; + font-size: var(--block-title-text-size) !important; + font-weight: var(--block-title-text-weight) !important; + height: 22px; + margin-bottom: 8px !important; } ::selection { - background: #ffc078 !important; + background: #ffc078; !important; +} + +#checkbox_train_dpo input[type="checkbox"]{ + margin-top: 6px; +} + +#checkbox_train_dpo span { + margin-top: 6px; +} + +#checkbox_align_train { + padding-top: 18px; + padding-bottom: 18px; +} + +#checkbox_align_infer input[type="checkbox"] { + margin-top: 10px; +} + +#checkbox_align_infer span { + margin-top: 10px; } footer { @@ -48,14 +91,16 @@ footer * { } """ - top_html = """
{}
-
+
+ + + From 4e3c69043cf0772f02125a63e70af835ca702904 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 10 Jul 2025 18:16:24 +0800 Subject: [PATCH 05/11] Update inference_webui.py --- GPT_SoVITS/inference_webui.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/GPT_SoVITS/inference_webui.py b/GPT_SoVITS/inference_webui.py index 643e4054..a361ed58 100644 --- a/GPT_SoVITS/inference_webui.py +++ b/GPT_SoVITS/inference_webui.py @@ -6,7 +6,20 @@ 全部按英文识别 全部按日文识别 """ +import psutil +import os +def set_high_priority(): + """把当前 Python 进程设为 HIGH_PRIORITY_CLASS""" + if os.name != "nt": + return # 仅 Windows 有效 + p = psutil.Process(os.getpid()) + try: + p.nice(psutil.HIGH_PRIORITY_CLASS) + print("已将进程优先级设为 High") + except psutil.AccessDenied: + print("权限不足,无法修改优先级(请用管理员运行)") +set_high_priority() import json import logging import os From 426e1a2bb43614af2479b877c37acfb0591e952f Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 10 Jul 2025 18:16:45 +0800 Subject: [PATCH 06/11] =?UTF-8?q?=E6=8F=90=E5=8D=87=E6=8E=A8=E7=90=86?= =?UTF-8?q?=E8=BF=9B=E7=A8=8B=E4=BC=98=E5=85=88=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GPT_SoVITS/inference_webui_fast.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/GPT_SoVITS/inference_webui_fast.py b/GPT_SoVITS/inference_webui_fast.py index 470b7bbd..2c159d81 100644 --- a/GPT_SoVITS/inference_webui_fast.py +++ b/GPT_SoVITS/inference_webui_fast.py @@ -6,7 +6,20 @@ 全部按英文识别 全部按日文识别 """ +import psutil +import os +def set_high_priority(): + """把当前 Python 进程设为 HIGH_PRIORITY_CLASS""" + if os.name != "nt": + return # 仅 Windows 有效 + p = psutil.Process(os.getpid()) + try: + p.nice(psutil.HIGH_PRIORITY_CLASS) + print("已将进程优先级设为 High") + except psutil.AccessDenied: + print("权限不足,无法修改优先级(请用管理员运行)") +set_high_priority() import json import logging import os From fec515dcce2053164e6793a1c2ffe8fecc32d6ad Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 10 Jul 2025 18:33:18 +0800 Subject: [PATCH 07/11] Update Changelog_CN.md --- docs/cn/Changelog_CN.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/cn/Changelog_CN.md b/docs/cn/Changelog_CN.md index 6c6dcdbe..f68e23a9 100644 --- a/docs/cn/Changelog_CN.md +++ b/docs/cn/Changelog_CN.md @@ -594,3 +594,33 @@ - 内容: 修复实验名结尾出现空格在win中路径不正确的问题 - 类型: 修复 - 提交: RVC-Boss +- 2025.06.10 [Commit#746cb536](https://github.com/RVC-Boss/GPT-SoVITS/commit/746cb536c68b1fe6ce3ca7e882235375b8a8dd89) + - 内容: 语种分割优化 + - 类型: 优化 + - 提交: KamioRinn +- 2025.06.11 [Commit#dd2b9253](https://github.com/RVC-Boss/GPT-SoVITS/commit/dd2b9253aabb09db32db7a3344570ed9df043351) + - 内容: 修复并行推理对v2pro支持bug + - 类型: 修复 + - 提交: YYuX-1145 +- 2025.06.11 [Commit#ed89a023](https://github.com/RVC-Boss/GPT-SoVITS/commit/ed89a023378dabba9d4b6580235bb9742245816d) + - 内容: v2pro对ge提取时会出现数值溢出的问题修复 + - 类型: 修复 + - 提交: RVC-Boss +- 2025.06.11 [Commit#37f5abfc](https://github.com/RVC-Boss/GPT-SoVITS/commit/6fdc67ca83418306f11e90b9139278313ac5c3e9)[Commit#6fdc67ca](https://github.com/RVC-Boss/GPT-SoVITS/commit/37f5abfcb4a6553652235909db2e124b6f8ff3a5) + - 内容: install.sh逻辑优化 + - 类型: 优化 + - 提交: XXXXRT666 +- 2025.06.27 [Commit#90ebefa7](https://github.com/RVC-Boss/GPT-SoVITS/commit/90ebefa78fd544da36eebe0b2003620879c921b0) + - 内容: onnxruntime加载逻辑优化(对gpu/cpu的判断) + - 类型: 优化 + - 提交: KamioRinn +- 2025.06.27 [Commit#6df61f58](https://github.com/RVC-Boss/GPT-SoVITS/commit/6df61f58e4d18d4c2ad9d1eddd6a1bd690034c23) + - 内容: 语言分割及格式化优化 + - 类型: 优化 + - 提交: KamioRinn +- 2025.07.10 [Commit#426e1a2bb](https://github.com/RVC-Boss/GPT-SoVITS/commit/426e1a2bb43614af2479b877c37acfb0591e952f) + - 内容: 提升推理进程优先级(修复win11下可能GPU利用率受限的问题) + - 类型: 修复 + - 提交: XianYue0125 + + From ec1218893e09389b23e477bf685ced7e5ec2fb08 Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Fri, 11 Jul 2025 16:10:07 +0800 Subject: [PATCH 08/11] Update Badge (#2518) * Update README.md * Update README.md * Update Badges * specify ranges --- README.md | 5 ++++- docs/cn/README.md | 8 ++++++-- docs/ja/README.md | 10 +++++++--- docs/ko/README.md | 10 +++++++--- docs/tr/README.md | 9 ++++++--- 5 files changed, 30 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6cb19092..be807a08 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,11 @@ A Powerful Few-shot Voice Conversion and Text-to-Speech WebUI.

+[![Python](https://img.shields.io/badge/python-3.10--3.12-blue?style=for-the-badge&logo=python)](https://www.python.org) +[![GitHub release](https://img.shields.io/github/v/release/RVC-Boss/gpt-sovits?style=for-the-badge&logo=github)](https://github.com/RVC-Boss/gpt-sovits/releases) + [![Train In Colab](https://img.shields.io/badge/Colab-Training-F9AB00?style=for-the-badge&logo=googlecolab)](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb) -[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-blue.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) +[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-yellow.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) [![Image Size](https://img.shields.io/docker/image-size/xxxxrt666/gpt-sovits/latest?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xxxxrt666/gpt-sovits) [![简体中文](https://img.shields.io/badge/简体中文-阅读文档-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) diff --git a/docs/cn/README.md b/docs/cn/README.md index 39e37a42..793734d8 100644 --- a/docs/cn/README.md +++ b/docs/cn/README.md @@ -7,15 +7,19 @@ RVC-Boss%2FGPT-SoVITS | Trendshift +[![Python](https://img.shields.io/badge/python-3.10--3.12-blue?style=for-the-badge&logo=python)](https://www.python.org) +[![GitHub release](https://img.shields.io/github/v/release/RVC-Boss/gpt-sovits?style=for-the-badge&logo=github)](https://github.com/RVC-Boss/gpt-sovits/releases) + [![Train In Colab](https://img.shields.io/badge/Colab-Training-F9AB00?style=for-the-badge&logo=googlecolab)](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb) -[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-blue.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) +[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-yellow.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) [![Image Size](https://img.shields.io/docker/image-size/xxxxrt666/gpt-sovits/latest?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xxxxrt666/gpt-sovits) [![简体中文](https://img.shields.io/badge/简体中文-阅读文档-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) [![English](https://img.shields.io/badge/English-Read%20Docs-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://rentry.co/GPT-SoVITS-guide#/) -[![Change Log](https://img.shields.io/badge/更新日志-查看更新-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/cn/Changelog_CN.md) +[![Change Log](https://img.shields.io/badge/Change%20Log-View%20Updates-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md) [![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) + [**English**](../../README.md) | **中文简体** | [**日本語**](../ja/README.md) | [**한국어**](../ko/README.md) | [**Türkçe**](../tr/README.md)
diff --git a/docs/ja/README.md b/docs/ja/README.md index c3c42cd8..1ee9abb4 100644 --- a/docs/ja/README.md +++ b/docs/ja/README.md @@ -7,14 +7,18 @@ RVC-Boss%2FGPT-SoVITS | Trendshift +[![Python](https://img.shields.io/badge/python-3.10--3.12-blue?style=for-the-badge&logo=python)](https://www.python.org) +[![GitHub release](https://img.shields.io/github/v/release/RVC-Boss/gpt-sovits?style=for-the-badge&logo=github)](https://github.com/RVC-Boss/gpt-sovits/releases) + [![Train In Colab](https://img.shields.io/badge/Colab-Training-F9AB00?style=for-the-badge&logo=googlecolab)](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb) -[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) -[![Huggingface](https://img.shields.io/badge/HuggingFace-demo-blue.svg?style=for-the-badge&logo=huggingface)](https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2) +[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-yellow.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) [![Image Size](https://img.shields.io/docker/image-size/xxxxrt666/gpt-sovits/latest?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xxxxrt666/gpt-sovits) [![简体中文](https://img.shields.io/badge/简体中文-阅读文档-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) [![English](https://img.shields.io/badge/English-Read%20Docs-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://rentry.co/GPT-SoVITS-guide#/) -[![Change Log](https://img.shields.io/badge/Change%20Log-View%20Updates-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/ja/Changelog_JA.md) +[![Change Log](https://img.shields.io/badge/Change%20Log-View%20Updates-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md) +[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) + [**English**](../../README.md) | [**中文简体**](../cn/README.md) | **日本語** | [**한국어**](../ko/README.md) | [**Türkçe**](../tr/README.md) diff --git a/docs/ko/README.md b/docs/ko/README.md index 1028c00a..9ff32f83 100644 --- a/docs/ko/README.md +++ b/docs/ko/README.md @@ -7,14 +7,18 @@ RVC-Boss%2FGPT-SoVITS | Trendshift +[![Python](https://img.shields.io/badge/python-3.10--3.12-blue?style=for-the-badge&logo=python)](https://www.python.org) +[![GitHub release](https://img.shields.io/github/v/release/RVC-Boss/gpt-sovits?style=for-the-badge&logo=github)](https://github.com/RVC-Boss/gpt-sovits/releases) + [![Train In Colab](https://img.shields.io/badge/Colab-Training-F9AB00?style=for-the-badge&logo=googlecolab)](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb) -[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) -[![Huggingface](https://img.shields.io/badge/HuggingFace-demo-blue.svg?style=for-the-badge&logo=huggingface)](https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2) +[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-yellow.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) [![Image Size](https://img.shields.io/docker/image-size/xxxxrt666/gpt-sovits/latest?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xxxxrt666/gpt-sovits) [![简体中文](https://img.shields.io/badge/简体中文-阅读文档-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) [![English](https://img.shields.io/badge/English-Read%20Docs-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://rentry.co/GPT-SoVITS-guide#/) -[![Change Log](https://img.shields.io/badge/Change%20Log-View%20Updates-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/ko/Changelog_KO.md) +[![Change Log](https://img.shields.io/badge/Change%20Log-View%20Updates-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md) +[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) + [**English**](../../README.md) | [**中文简体**](../cn/README.md) | [**日本語**](../ja/README.md) | **한국어** | [**Türkçe**](../tr/README.md) diff --git a/docs/tr/README.md b/docs/tr/README.md index dd5d79b3..b80c764b 100644 --- a/docs/tr/README.md +++ b/docs/tr/README.md @@ -7,14 +7,17 @@ Güçlü Birkaç Örnekli Ses Dönüştürme ve Metinden Konuşmaya Web Arayüz RVC-Boss%2FGPT-SoVITS | Trendshift +[![Python](https://img.shields.io/badge/python-3.10--3.12-blue?style=for-the-badge&logo=python)](https://www.python.org) +[![GitHub release](https://img.shields.io/github/v/release/RVC-Boss/gpt-sovits?style=for-the-badge&logo=github)](https://github.com/RVC-Boss/gpt-sovits/releases) + [![Train In Colab](https://img.shields.io/badge/Colab-Training-F9AB00?style=for-the-badge&logo=googlecolab)](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb) -[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) -[![Huggingface](https://img.shields.io/badge/HuggingFace-demo-blue.svg?style=for-the-badge&logo=huggingface)](https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2) +[![Huggingface](https://img.shields.io/badge/免费在线体验-free_online_demo-yellow.svg?style=for-the-badge&logo=huggingface)](https://lj1995-gpt-sovits-proplus.hf.space/) [![Image Size](https://img.shields.io/docker/image-size/xxxxrt666/gpt-sovits/latest?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xxxxrt666/gpt-sovits) [![简体中文](https://img.shields.io/badge/简体中文-阅读文档-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) [![English](https://img.shields.io/badge/English-Read%20Docs-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://rentry.co/GPT-SoVITS-guide#/) -[![Change Log](https://img.shields.io/badge/Change%20Log-View%20Updates-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/tr/Changelog_TR.md) +[![Change Log](https://img.shields.io/badge/Change%20Log-View%20Updates-blue?style=for-the-badge&logo=googledocs&logoColor=white)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md) +[![License](https://img.shields.io/badge/LICENSE-MIT-green.svg?style=for-the-badge&logo=opensourceinitiative)](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE) [**English**](../../README.md) | [**中文简体**](../cn/README.md) | [**日本語**](../ja/README.md) | [**한국어**](../ko/README.md) | **Türkçe** From 706bec74f8b80f9ca915b746a960bd72c9a1c4f9 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Fri, 11 Jul 2025 16:11:08 +0800 Subject: [PATCH 09/11] Update assets.py --- tools/assets.py | 90 +++++++++++++------------------------------------ 1 file changed, 24 insertions(+), 66 deletions(-) diff --git a/tools/assets.py b/tools/assets.py index 533a020c..6851c064 100644 --- a/tools/assets.py +++ b/tools/assets.py @@ -1,81 +1,38 @@ js = """ -function createGradioAnimation() { - - const params = new URLSearchParams(window.location.search); - if (params.get('__theme') !== 'light') { - params.set('__theme', 'light'); // 仅当 __theme 不是 'light' 时设置为 'light' - window.location.search = params.toString(); // 更新 URL,触发页面刷新 - } - - var container = document.createElement('div'); - container.id = 'gradio-animation'; - container.style.fontSize = '2em'; - container.style.fontWeight = '500'; - container.style.textAlign = 'center'; - container.style.marginBottom = '20px'; - container.style.fontFamily = '-apple-system, sans-serif, Arial, Calibri'; +function deleteTheme() { - var text = 'Welcome to GPT-SoVITS !'; - for (var i = 0; i < text.length; i++) { - (function(i){ - setTimeout(function(){ - var letter = document.createElement('span'); - letter.style.opacity = '0'; - letter.style.transition = 'opacity 0.5s'; - letter.innerText = text[i]; +const params = new URLSearchParams(window.location.search); +if (params.has('__theme')) { + params.delete('__theme'); + const newUrl = `${window.location.pathname}?${params.toString()}`; + window.location.replace(newUrl); +} - container.appendChild(letter); - - setTimeout(function() { - letter.style.opacity = '1'; - }, 50); - }, i * 250); - })(i); - } - return 'Animation created'; } """ - css = """ /* CSSStyleRule */ - .markdown { - background-color: lightblue; padding: 6px 10px; } -.checkbox_info { - color: var(--block-title-text-color) !important; - font-size: var(--block-title-text-size) !important; - font-weight: var(--block-title-text-weight) !important; - height: 22px; - margin-bottom: 8px !important; +@media (prefers-color-scheme: light) { + .markdown { + background-color: lightblue; + color: #000; + } +} + +@media (prefers-color-scheme: dark) { + .markdown { + background-color: #4b4b4b; + color: rgb(244, 244, 245); + } } ::selection { - background: #ffc078; !important; -} - -#checkbox_train_dpo input[type="checkbox"]{ - margin-top: 6px; -} - -#checkbox_train_dpo span { - margin-top: 6px; -} - -#checkbox_align_train { - padding-top: 18px; - padding-bottom: 18px; -} - -#checkbox_align_infer input[type="checkbox"] { - margin-top: 10px; -} - -#checkbox_align_infer span { - margin-top: 10px; + background: #ffc078 !important; } footer { @@ -91,6 +48,7 @@ footer * { } """ + top_html = """
{}
@@ -98,12 +56,12 @@ top_html = """ - - - + + + From 85035f7ac09b8b90146cc4cd6bf334673e9baac7 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Mon, 14 Jul 2025 18:56:22 +0800 Subject: [PATCH 10/11] add RTF performence add RTF performence --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index be807a08..f9feb80d 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,11 @@ Unseen speakers few-shot fine-tuning demo: https://github.com/RVC-Boss/GPT-SoVITS/assets/129054828/05bee1fa-bdd8-4d85-9350-80c060ab47fb +**RTF(inference speed) of GPT-SoVITS**: +0.028 tested in 4060Ti, 0.014 tested in 4090. You can test our [huggingface demo](https://lj1995-gpt-sovits-proplus.hf.space/) (half H200) to experience high-speed inference . + +请不要尬黑GPT-SoVITS推理速度慢,谢谢! + **User guide: [简体中文](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) | [English](https://rentry.co/GPT-SoVITS-guide#/)** ## Installation From 42586e20f7e2d58026ed2fa68ac1ddf41fc48346 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Mon, 14 Jul 2025 19:01:26 +0800 Subject: [PATCH 11/11] add RTF performence add RTF performence --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f9feb80d..86d50ea2 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,8 @@ Unseen speakers few-shot fine-tuning demo: https://github.com/RVC-Boss/GPT-SoVITS/assets/129054828/05bee1fa-bdd8-4d85-9350-80c060ab47fb -**RTF(inference speed) of GPT-SoVITS**: -0.028 tested in 4060Ti, 0.014 tested in 4090. You can test our [huggingface demo](https://lj1995-gpt-sovits-proplus.hf.space/) (half H200) to experience high-speed inference . +**RTF(inference speed) of GPT-SoVITS v2 ProPlus**: +0.028 tested in 4060Ti, 0.014 tested in 4090 (1400words~=4min, inference time is 3.36s), 0.526 in M4 CPU. You can test our [huggingface demo](https://lj1995-gpt-sovits-proplus.hf.space/) (half H200) to experience high-speed inference . 请不要尬黑GPT-SoVITS推理速度慢,谢谢!