Skip to content

Commit

Permalink
Merge pull request #442 from IAHispano/formatter-main
Browse files Browse the repository at this point in the history
chore(format): run black on main
  • Loading branch information
aitronz authored May 22, 2024
2 parents 7129a44 + c811df4 commit 3b5f483
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rvc/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,8 @@ def train_and_evaluate(rank, epoch, hps, nets, optims, scaler, loaders, writers,
if best_epoch == hps.overtraining_threshold:
old_model_files = glob.glob(
os.path.join(
hps.model_dir, "{}_{}e_{}s_best_epoch.pth".format(hps.name, "*", "*")
hps.model_dir,
"{}_{}e_{}s_best_epoch.pth".format(hps.name, "*", "*"),
)
)
for file in old_model_files:
Expand Down

0 comments on commit 3b5f483

Please sign in to comment.