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
ChasonJiang
abe984395c
对齐gpt topk默认采样参数 ( #2696 )
2025-12-19 16:05:36 +08:00
ChasonJiang
b9211657d8
优化TTS_Config的代码逻辑 ( #2536 )
...
* 优化TTS_Config的代码逻辑
* 在载入vits权重之后保存tts_config
2025-07-18 11:54:40 +08:00
RVC-Boss
426e1a2bb4
提升推理进程优先级
2025-07-10 18:16:45 +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
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
ChasonJiang
e0f2818df7
为并行推理版本适配v4 ( #2307 )
...
* 适配v4版本
* 适配v4版本
* modified: GPT_SoVITS/inference_webui_fast.py
* 合并main分支
* fallback config
* modified: GPT_SoVITS/TTS_infer_pack/TTS.py
* fix bug
* modified: GPT_SoVITS/TTS_infer_pack/TTS.py
* modified: GPT_SoVITS/inference_webui_fast.py
2025-04-21 23:20:20 +08:00
RVC-Boss
8b394a15bc
support v4 parallel inference
...
支持v4并行推理
2025-04-21 21:31:12 +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
9da7e17efe
Add files via upload
2025-04-01 18:44:35 +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
ChasonJiang
7394dc7b0c
为api_v2和inference_webui_fast适配V3版本 ( #2188 )
...
* modified: GPT_SoVITS/TTS_infer_pack/TTS.py
modified: GPT_SoVITS/TTS_infer_pack/TextPreprocessor.py
modified: GPT_SoVITS/inference_webui_fast.py
* 适配V3版本
* api_v2.py和inference_webui_fast.py的v3适配
* 修改了个远古bug,增加了更友好的提示信息
* 优化webui
* 修改为正确的path
* 修复v3 lora模型的载入问题
* 修复读取tts_infer.yaml文件时遇到的编码不匹配的问题
2025-03-26 14:34:51 +08:00
starylan
e35ade8f60
拆分i18n
2025-02-28 01:41:04 +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
75b0c3769f
Add files via upload
2024-08-20 23:51:39 +08:00
RVC-Boss
62c448b785
Update gradio
2024-08-20 23:47:33 +08:00
ChasonJiang
52c50c6c81
All in one! 合并main分支和fast_inference_分支 ( #1490 )
...
* 合并main分支和fast_inference_分支
* 修复一些bug
2024-08-20 22:19:04 +08:00