mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-01-19 18:41:52 +00:00
replace warn (#1255)
This commit is contained in:
@@ -389,14 +389,14 @@ def get_pretrained_models(path_str, f0_str, sr2):
|
||||
"assets/pretrained%s/%sD%s.pth" % (path_str, f0_str, sr2), os.F_OK
|
||||
)
|
||||
if not if_pretrained_generator_exist:
|
||||
logger.warn(
|
||||
logger.warning(
|
||||
"assets/pretrained%s/%sG%s.pth not exist, will not use pretrained model",
|
||||
path_str,
|
||||
f0_str,
|
||||
sr2,
|
||||
)
|
||||
if not if_pretrained_discriminator_exist:
|
||||
logger.warn(
|
||||
logger.warning(
|
||||
"assets/pretrained%s/%sD%s.pth not exist, will not use pretrained model",
|
||||
path_str,
|
||||
f0_str,
|
||||
|
||||
Reference in New Issue
Block a user