File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ check_file_pretrained() {
3434 echo failed. starting download from huggingface.
3535 if command -v aria2c > /dev/null 2>&1 ; then
3636 aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/" $1 " /" $2 " -d ./assets/" $1 " -o " $2 "
37- [ -f " ./assets/" " $1 " " /" " $2 " " " ] && echo " download successful." || echo " please try again!" && exit 1
37+ [ -f " ./assets/" " $1 " " /" " $2 " " " ] && echo " download successful." || { echo " please try again!" && exit 1; }
3838 else
3939 echo " aria2c command not found. Please install aria2c and try again."
4040 exit 1
@@ -50,7 +50,7 @@ check_file_special() {
5050 echo failed. starting download from huggingface.
5151 if command -v aria2c > /dev/null 2>&1 ; then
5252 aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/" $2 " -d ./assets/" $1 " -o " $2 "
53- [ -f " ./assets/" " $1 " " /" " $2 " " " ] && echo " download successful." || echo " please try again!" && exit 1
53+ [ -f " ./assets/" " $1 " " /" " $2 " " " ] && echo " download successful." || { echo " please try again!" && exit 1; }
5454 else
5555 echo " aria2c command not found. Please install aria2c and try again."
5656 exit 1
You can’t perform that action at this time.
0 commit comments