optimize(infer-web): silent httpx INFO logging
and add rmvpe downloading in dlmodels.bat
This commit is contained in:
parent
55b3fad19e
commit
380fd52085
@ -34,6 +34,7 @@ import logging
|
||||
|
||||
|
||||
logging.getLogger("numba").setLevel(logging.WARNING)
|
||||
logging.getLogger("httpx").setLevel(logging.WARNING)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user