helloWorld199
commited on
Commit
•
424f7a9
1
Parent(s):
5cdf7e0
Update src/webui.py
Browse files- src/webui.py +2 -2
src/webui.py
CHANGED
@@ -203,7 +203,7 @@ if __name__ == '__main__':
|
|
203 |
with gr.Row():
|
204 |
index_rate = gr.Slider(0, 1, value=0.5, label='Index Rate', info="Controls how much of the AI voice's accent to keep in the vocals")
|
205 |
filter_radius = gr.Slider(0, 7, value=3, step=1, label='Filter radius', info='If >=3: apply median filtering median filtering to the harvested pitch results. Can reduce breathiness')
|
206 |
-
rms_mix_rate = gr.Slider(0, 1, value=
|
207 |
protect = gr.Slider(0, 0.5, value=0.33, label='Protect rate', info='Protect voiceless consonants and breath sounds. Set to 0.5 to disable.')
|
208 |
with gr.Column():
|
209 |
f0_method = gr.Dropdown(['rmvpe', 'mangio-crepe'], value='rmvpe', label='Pitch detection algorithm', info='Best option is rmvpe (clarity in vocals), then mangio-crepe (smoother vocals)')
|
@@ -240,7 +240,7 @@ if __name__ == '__main__':
|
|
240 |
protect, pitch_all, reverb_rm_size, reverb_wet, reverb_dry, reverb_damping,
|
241 |
output_format],
|
242 |
outputs=[ai_cover])
|
243 |
-
clear_btn.click(lambda: [0, 0, 0, 0, 0.5, 3,
|
244 |
outputs=[pitch, main_gain, backup_gain, inst_gain, index_rate, filter_radius, rms_mix_rate,
|
245 |
protect, f0_method, crepe_hop_length, pitch_all, reverb_rm_size, reverb_wet,
|
246 |
reverb_dry, reverb_damping, output_format, ai_cover])
|
|
|
203 |
with gr.Row():
|
204 |
index_rate = gr.Slider(0, 1, value=0.5, label='Index Rate', info="Controls how much of the AI voice's accent to keep in the vocals")
|
205 |
filter_radius = gr.Slider(0, 7, value=3, step=1, label='Filter radius', info='If >=3: apply median filtering median filtering to the harvested pitch results. Can reduce breathiness')
|
206 |
+
rms_mix_rate = gr.Slider(0, 1, value=0, label='RMS mix rate', info="Control how much to mimic the original vocal's loudness (0) or a fixed loudness (1)")
|
207 |
protect = gr.Slider(0, 0.5, value=0.33, label='Protect rate', info='Protect voiceless consonants and breath sounds. Set to 0.5 to disable.')
|
208 |
with gr.Column():
|
209 |
f0_method = gr.Dropdown(['rmvpe', 'mangio-crepe'], value='rmvpe', label='Pitch detection algorithm', info='Best option is rmvpe (clarity in vocals), then mangio-crepe (smoother vocals)')
|
|
|
240 |
protect, pitch_all, reverb_rm_size, reverb_wet, reverb_dry, reverb_damping,
|
241 |
output_format],
|
242 |
outputs=[ai_cover])
|
243 |
+
clear_btn.click(lambda: [0, 0, 0, 0, 0.5, 3, 0, 0.33, 'rmvpe', 128, 0, 0.15, 0.2, 0.8, 0.7, 'mp3', None],
|
244 |
outputs=[pitch, main_gain, backup_gain, inst_gain, index_rate, filter_radius, rms_mix_rate,
|
245 |
protect, f0_method, crepe_hop_length, pitch_all, reverb_rm_size, reverb_wet,
|
246 |
reverb_dry, reverb_damping, output_format, ai_cover])
|