From 8a2dc3e251d57e3ed3c49158862a067c56b96681 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 10 Oct 2024 20:02:47 +0000 Subject: [PATCH] chore(format): run black on main --- rvc/infer/pipeline.py | 28 ++++++++++++++-------------- tabs/tts/tts.py | 18 +++++++++--------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/rvc/infer/pipeline.py b/rvc/infer/pipeline.py index e2faf1b0e..762255405 100644 --- a/rvc/infer/pipeline.py +++ b/rvc/infer/pipeline.py @@ -150,19 +150,19 @@ def __init__(self, tgt_sr, config): self.f0_mel_max = 1127 * np.log(1 + self.f0_max / 700) self.device = config.device self.ref_freqs = [ - 49.00, # G1 - 51.91, # G#1 / Ab1 - 55.00, # A1 - 58.27, # A#1 / Bb1 - 61.74, # B1 - 65.41, # C2 - 69.30, # C#2 / Db2 - 73.42, # D2 - 77.78, # D#2 / Eb2 - 82.41, # E2 - 87.31, # F2 - 92.50, # F#2 / Gb2 - 98.00, # G2 + 49.00, # G1 + 51.91, # G#1 / Ab1 + 55.00, # A1 + 58.27, # A#1 / Bb1 + 61.74, # B1 + 65.41, # C2 + 69.30, # C#2 / Db2 + 73.42, # D2 + 77.78, # D#2 / Eb2 + 82.41, # E2 + 87.31, # F2 + 92.50, # F#2 / Gb2 + 98.00, # G2 103.83, # G#2 / Ab2 110.00, # A2 116.54, # A#2 / Bb2 @@ -203,7 +203,7 @@ def __init__(self, tgt_sr, config): 880.00, # A5 932.33, # A#5 / Bb5 987.77, # B5 - 1046.50 # C6 + 1046.50, # C6 ] self.autotune = Autotune(self.ref_freqs) self.note_dict = self.autotune.note_dict diff --git a/tabs/tts/tts.py b/tabs/tts/tts.py index 9d17228d2..5912d64aa 100644 --- a/tabs/tts/tts.py +++ b/tabs/tts/tts.py @@ -163,15 +163,15 @@ def tts_tab(): interactive=True, ) autotune_strength = gr.Slider( - minimum=0, - maximum=1, - label=i18n("Autotune Strength"), - info=i18n( - "Set the autotune strength - the more you increase it the more it will snap to the chromatic grid." - ), - visible=False, - value=1, - interactive=True, + minimum=0, + maximum=1, + label=i18n("Autotune Strength"), + info=i18n( + "Set the autotune strength - the more you increase it the more it will snap to the chromatic grid." + ), + visible=False, + value=1, + interactive=True, ) clean_audio = gr.Checkbox( label=i18n("Clean Audio"),