changhaowuwu
8b195a5adb
security: replace eval() with safe boolean parsing
...
Replace all uses of eval() on environment variables and command-line
arguments with safe string comparison. eval() allows arbitrary code
execution when given untrusted input, making it a security risk.
The fix uses .lower() in ("true", "1", "yes") which produces
identical behavior for all valid boolean inputs while preventing
code injection. This pattern is already used in config.py.
Affected files (10 call sites):
- GPT_SoVITS/inference_webui.py (is_share, is_half)
- GPT_SoVITS/inference_webui_fast.py (is_share, is_half)
- GPT_SoVITS/prepare_datasets/1-get-text.py (is_half)
- GPT_SoVITS/prepare_datasets/2-get-hubert-wav32k.py (is_half)
- GPT_SoVITS/prepare_datasets/2-get-sv.py (is_half)
- GPT_SoVITS/prepare_datasets/3-get-semantic.py (is_half)
- tools/uvr5/webui.py (is_half, is_share)
- tools/subfix_webui.py (is_share)
2026-02-25 22:08:01 +01:00
RVC-Boss
4e3c69043c
Update inference_webui.py
2025-07-10 18:16:24 +08:00
KamioRinn
6df61f58e4
语言分割及格式化优化 ( #2488 )
...
* better LangSegmenter
* add version num2str
* better version num2str
* sync fast infer
* sync api
* remove duplicate spaces
* remove unnecessary code
---------
Co-authored-by: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
2025-06-27 11:58:41 +08:00
RVC-Boss
cd6de7398e
Merge pull request #2449 from KamioRinn/maga
...
support v4 v2Pro v2ProPlus for api & optimize LangSegmenter
2025-06-11 10:29:39 +08:00
KamioRinn
746cb536c6
Fix LangSegmenter
2025-06-10 19:18:05 +08:00
wzy3650
d6b78c927a
fix configs error ( #2439 )
...
* fix configs error
* fix configs error
---------
Co-authored-by: wangzeyuan <wangzeyuan@agora.io>
Co-authored-by: wangzeyuan <wangzeyuan@shengwang.cn>
2025-06-09 11:25:55 +08:00
SapphireLab
d7c2210da8
Update Documentation ( #2436 )
...
* docs(Changelog_CN): Reformat the Changlog_CN before 2024.08
* docs(README): Update Multi-Language README
* docs(Changelog_CN): Separate links and content
* docs(Changelog_CN): fix missing issue.
* docs(Changelog_EN): Update Changelog_EN to date
* docs(Changelog_EN): fix typo
* docs(Changelog_JA): Update Changelog_JA to date
* docs(Changelog_KO): Update Changelog_KO to date
* docs(Changelog_TR): Update Changelog_TR to date
* docs(i18n): Update Multi-Language i18n JSON
2025-06-06 10:30:17 +08:00
XXXXRT666
132f6e7b8b
Fix Bugs, Modified Layout ( #2434 )
...
Co-authored-by: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
2025-06-05 18:37:19 +08:00
RVC-Boss
3fcffb2e95
fix v3v4 resample function
...
fix v3v4 resample function
2025-06-05 10:47:32 +08:00
RVC-Boss
921ac6c41a
support sovits v2Pro v2ProPlus
...
support sovits v2Pro v2ProPlus
2025-06-04 15:16:47 +08:00
SapphireLab
663c3cc6fc
Update Documentation ( #2420 )
...
* docs(中文更新日志): 重新排版24年08月以来的更新日志
* 添加细节
* docs(英文更新日志): 重新排版24年08月以来的更新日志
* 修正句子
* docs(changelog): Reformat and Update Changelog since August 2024.
* docs(i18n): Update i18n config for all languages
* docs(webui): Split i18n sentences for detection
2025-06-03 10:29:58 +08:00
XXXXRT666
d5e479dad6
Introduce Docker and Windows CI Workflow, Pre-commit Formatting, and Language Resource Auto-Download ( #2351 )
...
* Docker Auto-Build Workflow
* Rename
* Update
* Fix Bugs
* Disable Progress Bar When workflows triggered
* Fix Wget
* Fix Bugs
* Fix Bugs
* Update Wget
* Update Workflows
* Accelerate Docker Image Building
* Fix Install.sh
* Add Skip-Check For Action Runner
* Fix Dockerfile
* .
* .
* .
* .
* Delete File in Runner
* Add Sort
* Delete More Files
* Delete More
* .
* .
* .
* Add Pre-Commit Hook
Update Docker
* Add Code Spell Check
* [pre-commit.ci] trigger
* [pre-commit.ci] trigger
* [pre-commit.ci] trigger
* Fix Bugs
* .
* Disable Progress Bar and Logs while using GitHub Actions
* .
* .
* Fix Bugs
* update conda
* fix bugs
* Fix Bugs
* fix bugs
* .
* .
* Quiet Installation
* fix bugs
* .
* fix bug
* .
* Fix pre-commit.ci and Docker
* fix bugs
* .
* Update Docker & Pre-Commit
* fix bugs
* Update Req
* Update Req
* Update OpenCC
* update precommit
* .
* Update .pre-commit-config.yaml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update Docs and fix bugs
* Fix \
* Fix MacOS
* .
* test
* .
* Add Tag Alias
* .
* fix bugs
* fix bugs
* make image smaller
* update pre-commit config
* .
* .
* fix bugs
* use miniconda
* Fix Wrong Path
* .
* debug
* debug
* revert
* Fix Bugs
* Update Docs, Add Dict Auto Download in install.sh
* update docker_build
* Update Docs for Install.sh
* update docker docs about architecture
* Add Xcode-Commandline-Tool Installation
* Update Docs
1. Add Missing VC17
2. Modufied the Order of FFmpeg Installation and Requirements Installation
3. Remove Duplicate FFmpeg
* Fix Wrong Cuda Version
* Update TESTED ENV
* Add PYTHONNOUSERSITE(-s)
* Fix Wrapper
* Update install.sh For Robustness
* Ignore .git
* Preload CUDNN For Ctranslate2
* Remove Gradio Warnings
* Update Colab
* Fix OpenCC Problems
* Update Win DLL Strategy
* Fix Onnxruntime-gpu NVRTC Error
* Fix Path Problems
* Add Windows Packages Workflow
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* .
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Fix Path
* Fix Path
* Enable Logging
* Set 7-Zip compression level to maximum (-mx=9)
* Use Multithread in ONNX Session
* Fix Tag Bugs
* Add Time
* Add Time
* Add Time
* Compress More
* Copy DLL to Solve VC Runtime DLL Missing Issues
* Expose FFmpeg Errors, Copy Only Part of Visual C++ Runtime
* Update build_windows_packages.ps1
* Update build_windows_packages.ps1
* Update build_windows_packages.ps1
* Update build_windows_packages.ps1
* WIP
* WIP
* WIP
* Update build_windows_packages.ps1
* Update install.sh
* Update build_windows_packages.ps1
* Update docker-publish.yaml
* Update install.sh
* Update Dockerfile
* Update docker_build.sh
* Update miniconda_install.sh
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update Colab-WebUI.ipynb
* Update Colab-Inference.ipynb
* Update docker-compose.yaml
* 更新 build_windows_packages.ps1
* Update install.sh
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-26 10:45:14 +08:00
XXXXRT666
9202c74761
Update Gradio Reqs ( #2311 )
...
* Update Librosa version
* Update Gradio Quiet Settings
2025-04-22 20:28:04 +08:00
RVC-Boss
7405427a0a
修复v3推理传参问题
2025-04-22 00:16:07 +08:00
RVC-Boss
8b394a15bc
support v4 parallel inference
...
支持v4并行推理
2025-04-21 21:31:12 +08:00
RVC-Boss
c6cb6b45f3
support gpt-sovits v4
...
support gpt-sovits v4
2025-04-20 14:53:07 +08:00
XXXXRT666
53cac93589
Refactor: Format Code with Ruff and Update Deprecated G2PW Link ( #2255 )
...
* ruff check --fix
* ruff format --line-length 120 --target-version py39
* Change the link for G2PW Model
* update pytorch version and colab
2025-04-07 16:42:47 +08:00
RVC-Boss
605b380114
修复模型加载异步逻辑
...
修复模型加载异步逻辑
2025-04-01 16:50:54 +08:00
RVC-Boss
6a60e5edb1
v3解锁并行推理;修复模型加载异步逻辑
...
v3解锁并行推理;修复模型加载异步逻辑
2025-04-01 16:29:52 +08:00
RVC-Boss
271db6a4de
fix torch.inference_mode()RuntimeError:Inplace update to inference tensor outside InferenceMode is not allowed.
...
fix torch.inference_mode()RuntimeError:Inplace update to inference tensor outside InferenceMode is not allowed.
2025-03-05 18:07:47 +08:00
RVC-Boss
df33574a26
修复超分后音量超过1写错了的bug
...
修复超分后音量超过1写错了的bug
2025-03-01 19:17:03 +08:00
RVC-Boss
c38b169019
v3sovits模型推理支持webui传语速参数调整合成语速
...
v3sovits模型推理支持webui传语速参数调整合成语速
2025-02-28 16:50:12 +08:00
RVC-Boss
a69be1eae7
Merge pull request #2122 from KamioRinn/Fix-Short-CJK-LangSegmenter
...
Fix Short CJK LangSegmenter
2025-02-28 11:23:05 +08:00
KamioRinn
3356fc9e09
Fix get_phones_and_bert
2025-02-28 02:25:58 +08:00
starylan
e35ade8f60
拆分i18n
2025-02-28 01:41:04 +08:00
RVC-Boss
2cd843dcbc
Update inference_webui.py
2025-02-27 22:46:29 +08:00
RVC-Boss
94ffcbe616
Update inference_webui.py
2025-02-27 22:43:18 +08:00
RVC-Boss
a0ff6fa7a2
Update inference_webui.py
2025-02-27 22:28:02 +08:00
RVC-Boss
250b1c73cb
fix 24k to 48k inference
2025-02-27 20:49:17 +08:00
RVC-Boss
060a0d91dc
fix 24k to 48k inference
...
fix 24k to 48k inference
2025-02-27 19:05:54 +08:00
RVC-Boss
00bdc01113
支持24k音频超分48k采样率
...
支持24k音频超分48k采样率
2025-02-27 16:08:26 +08:00
RVC-Boss
00cbadcaad
屏蔽lora strict=False的print假告警,其实加载逻辑没问题。
...
屏蔽lora strict=False的print假告警,其实加载逻辑没问题。
2025-02-27 14:38:55 +08:00
RVC-Boss
e937b625e4
support sovits v3 lora training, 8G GPU memory is enough
...
support sovits v3 lora training, 8G GPU memory is enough
2025-02-23 00:37:14 +08:00
KamioRinn
c17dd642c7
Add en_normalization and fix LangSegmenter ( #2062 )
2025-02-17 18:41:30 +08:00
KamioRinn
72d839e40a
切换新的语言分割工具 ( #2047 )
...
* Add New LangSegmenter
* New LangSegmenter
2025-02-14 11:18:52 +08:00
RVC-Boss
16941a7c14
修复根据模型版本识别支持的语种滞后的问题
...
修复根据模型版本识别支持的语种滞后的问题
2025-02-13 23:17:27 +08:00
Abyss-Seeker
87a3b908ee
Update inference_webui.py ( #2043 )
...
修复在Colab使用自行训练的v2模型时可能遇到的UnpicklingError: Weights only load failed.
2025-02-13 23:12:43 +08:00
RVC-Boss
d8fc921771
fix hard code
2025-02-13 11:29:31 +08:00
RVC-Boss
1b25e1097a
修复首次打开不加载sovits模型
...
修复首次打开不加载sovits模型
2025-02-13 01:11:22 +08:00
RVC-Boss
8e9e3c07d5
修复sovits版本判断
2025-02-12 14:48:36 +08:00
RVC-Boss
598cddabaf
v3不支持无参考模式;加速切换模型的控件状态变更
...
v3不支持无参考模式;加速切换模型的控件状态变更
2025-02-12 12:02:47 +08:00
RVC-Boss
f29921d85d
gpt sovits v3
...
gpt sovits v3
2025-02-11 23:09:13 +08:00
RVC-Boss
8109e9bbfd
fix v3 pretrained model path
...
fix v3 pretrained model path
2025-02-11 22:56:51 +08:00
RVC-Boss
fa42d26d0e
gpt_sovits_v3
...
gpt_sovits_v3
2025-02-11 21:07:03 +08:00
XXXXRT666
7dac47ca95
chores ( #1528 )
...
* chores
* ...
* Add files via upload
* ...
* remove gradio warnings
* Update inference_webui.py
Fix inference_cli issue
2024-08-23 17:47:27 +08:00
RVC-Boss
70d73d36ca
Update gradio
2024-08-20 23:47:23 +08:00
XXXXRT666
ea56b814bd
Chores ( #1422 )
...
Make Gradio Great Again
附带vs2017下载链接
增加了各种数据集检查,若缺失会弹出warning
修复了warning乱弹的bug
修复了参考音频混合只能上传一条的bug
修复了下载G2PW Model出现import错误的bug
修复了Windows训练无N卡在预处理阶段的报错
2024-08-13 16:31:12 +08:00
KamioRinn
2310bcde53
Optimize short sentence ( #1430 )
2024-08-10 12:28:53 +08:00
XXXXRT666
e685299077
* README ( #1412 )
...
* README
2024-08-07 14:54:49 +08:00
RVC-Boss
21f05ee471
support timebre mixing
...
support timebre mixing
2024-08-07 11:28:30 +08:00