mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-05-06 20:01:37 +08:00
chore(format): run black on dev
This commit is contained in:
parent
1717645ae1
commit
c136d0bd31
@ -37,7 +37,8 @@ def check_model(
|
|||||||
if remove_incorrect:
|
if remove_incorrect:
|
||||||
if not os.path.exists(bakfile):
|
if not os.path.exists(bakfile):
|
||||||
os.rename(str(target), bakfile)
|
os.rename(str(target), bakfile)
|
||||||
else: os.remove(str(target))
|
else:
|
||||||
|
os.remove(str(target))
|
||||||
return False
|
return False
|
||||||
if remove_incorrect and os.path.exists(bakfile):
|
if remove_incorrect and os.path.exists(bakfile):
|
||||||
os.remove(bakfile)
|
os.remove(bakfile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user