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
XXXXRT666
6fdc67ca83
Fix bugs in install.sh, reduce log noise, and improve error reporting ( #2464 )
...
* Update Install.sh
* Format Code
* Delete dev null
* Update README, Support Dark Mode in CSS/JS
2025-06-17 15:21:36 +08:00
RVC-Boss
fafe4e7f12
Update subfix_webui.py
2025-05-29 10:43:48 +08:00
RVC-Boss
8c705784c5
友情提示标注完每一面都要点submit text否则白忙活
...
友情提示标注完每一面都要点submit text否则白忙活
2025-05-26 11:58:24 +08:00
RVC-Boss
4d9d56b196
add submit_text markdown
...
add submit_text markdown
2025-05-26 11:28:51 +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
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
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
2e834b305f
Add files via upload
2024-01-23 18:56:08 +08:00
RVC-Boss
da6cab78d1
Add files via upload
2024-01-21 23:02:52 +08:00
RVC-Boss
1f5bcd87ff
Add files via upload
2024-01-21 22:48:33 +08:00
RVC-Boss
9e5b22eaec
Add files via upload
2024-01-16 17:31:14 +08:00