Spaces:
Running
Running
Update src/covergen.py
Browse files- src/covergen.py +6 -4
src/covergen.py
CHANGED
@@ -39,18 +39,20 @@ if __name__ == '__main__':
|
|
39 |
|
40 |
with gr.Row():
|
41 |
rvc_model = gr.Dropdown(voice_models, label='Voice Models')
|
42 |
-
|
43 |
pitch = gr.Slider(-12, 12, value=0, step=1, label='Pitch Adjustment', info='-12 - male voice || 12 - female voice')
|
|
|
|
|
|
|
44 |
|
45 |
-
|
46 |
with gr.Tab("Voice Conversion"):
|
47 |
with gr.Row(equal_height=False):
|
48 |
with gr.Column(scale=2, variant='panel'):
|
49 |
local_file = gr.Audio(label='Audio File', interactive=True, show_download_button=False, show_share_button=False)
|
50 |
|
51 |
|
52 |
-
|
53 |
-
|
54 |
with gr.Accordion('Voice Conversion Settings', open=False):
|
55 |
with gr.Group():
|
56 |
with gr.Column(variant='panel'):
|
|
|
39 |
|
40 |
with gr.Row():
|
41 |
rvc_model = gr.Dropdown(voice_models, label='Voice Models')
|
42 |
+
|
43 |
pitch = gr.Slider(-12, 12, value=0, step=1, label='Pitch Adjustment', info='-12 - male voice || 12 - female voice')
|
44 |
+
ref_btn = gr.Button('Refresh Models List', variant='primary')
|
45 |
+
with gr.Row():
|
46 |
+
output_format = gr.Dropdown(['mp3', 'flac', 'wav'], value='mp3', label='File Format', allow_custom_value=False, filterable=False, scale=1)
|
47 |
|
48 |
+
generate_btn = gr.Button("Generate", variant="primary", scale=2)
|
49 |
with gr.Tab("Voice Conversion"):
|
50 |
with gr.Row(equal_height=False):
|
51 |
with gr.Column(scale=2, variant='panel'):
|
52 |
local_file = gr.Audio(label='Audio File', interactive=True, show_download_button=False, show_share_button=False)
|
53 |
|
54 |
|
55 |
+
|
|
|
56 |
with gr.Accordion('Voice Conversion Settings', open=False):
|
57 |
with gr.Group():
|
58 |
with gr.Column(variant='panel'):
|