1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 01:10:22 +08:00

chore(format): run black on dev (#2008)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-04-23 18:13:36 +09:00
committed by GitHub
parent 2c7a67a112
commit bfcd56f358

View File

@@ -37,7 +37,8 @@ def check_model(
if remove_incorrect:
if not os.path.exists(bakfile):
os.rename(str(target), bakfile)
else: os.remove(str(target))
else:
os.remove(str(target))
return False
if remove_incorrect and os.path.exists(bakfile):
os.remove(bakfile)