diff --git a/infer-web.py b/infer-web.py index 99b5494..9a129b6 100644 --- a/infer-web.py +++ b/infer-web.py @@ -34,6 +34,7 @@ import logging logging.getLogger("numba").setLevel(logging.WARNING) +logging.getLogger("httpx").setLevel(logging.WARNING) logger = logging.getLogger(__name__) diff --git a/tools/dlmodels.bat b/tools/dlmodels.bat index 5d80f50..b83825a 100644 --- a/tools/dlmodels.bat +++ b/tools/dlmodels.bat @@ -63,6 +63,9 @@ set hb=hubert_base.pt set dlhb=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt +set rmvpe=rmvpe.pt +set dlrmvpe=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt + echo dir check start. echo= @@ -332,7 +335,7 @@ if exist "%~dp0assets\uvr5_weights\onnx_dereverb_By_FoxJoy\%onnx_dereverb%" ( echo checking %hb% if exist "%~dp0assets\hubert\%hb%" ( - echo %hb% in .\assets\hubert\pretrained checked. + echo %hb% in .\assets\hubert checked. echo= ) else ( echo failed. starting download from huggingface. @@ -341,6 +344,17 @@ if exist "%~dp0assets\hubert\%hb%" ( echo=) ) +echo checking %rmvpe% +if exist "%~dp0assets\rmvpe\%rmvpe%" ( + echo %rmvpe% in .\assets\rmvpe checked. + echo= + ) else ( + echo failed. starting download from huggingface. + %~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlrmvpe% -d %~dp0assets\rmvpe\ -o %rmvpe% + if exist "%~dp0assets\rmvpe\%rmvpe%" (echo download successful.) else (echo please try again! + echo=) + ) + echo required files check finished. echo envfiles check complete. pause