Skip to content

Commit

Permalink
Merge pull request #801 from IAHispano/formatter/main
Browse files Browse the repository at this point in the history
chore(format): run black on main
  • Loading branch information
blaisewf authored Oct 10, 2024
2 parents 724122e + 8a2dc3e commit 8e02e1c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
28 changes: 14 additions & 14 deletions rvc/infer/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions tabs/tts/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 8e02e1c

Please sign in to comment.