Skip to content

Commit

Permalink
Update conversion.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bebra777228 authored Aug 4, 2024
1 parent 0602d99 commit 9ab56c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tabs/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def conversion_tab():
ref_btn = gr.Button('Обновить список моделей', variant='primary')
with gr.Group():
pitch = gr.Slider(-24, 24, value=0, step=0.5, label='Регулировка тона', info='-24 - мужской голос || 24 - женский голос')
f0autotune = gr.Checkbox(label="Автотюн", info='Автоматически корректирует высоту тона для более гармоничного звучания вокала', value=False)

with gr.Column(scale=2, variant='panel'):
with gr.Column() as upload_file:
Expand Down Expand Up @@ -72,5 +73,5 @@ def conversion_tab():
ref_btn.click(update_models_list, None, outputs=rvc_model)
generate_btn.click(conversion,
inputs=[uploaded_file, rvc_model, pitch, index_rate, filter_radius, volume_envelope,
f0_method, hop_length, protect, output_format, f0_min, f0_max],
f0_method, hop_length, protect, output_format, f0autotune, f0_min, f0_max],
outputs=[converted_voice])

0 comments on commit 9ab56c6

Please sign in to comment.