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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-11-06 15:42:26 +09:00
committed by GitHub
parent 3f7644b56a
commit ee6c50bdbc
2 changed files with 16 additions and 15 deletions

View File

@@ -170,16 +170,18 @@ class VC:
self.hubert_model = load_hubert(self.config)
if file_index:
file_index = file_index.strip(" ") \
.strip('"') \
.strip("\n") \
.strip('"') \
.strip(" ") \
.replace("trained", "added")
file_index = (
file_index.strip(" ")
.strip('"')
.strip("\n")
.strip('"')
.strip(" ")
.replace("trained", "added")
)
elif file_index2:
file_index = file_index2
else:
file_index = "" # 防止小白写错,自动帮他替换掉
file_index = "" # 防止小白写错,自动帮他替换掉
audio_opt = self.pipeline.pipeline(
self.hubert_model,