Update app.py
Browse files
app.py
CHANGED
@@ -303,12 +303,13 @@ with gr.Blocks(theme=applio, title="RVC UI") as app:
|
|
303 |
models = gr.Dropdown(label="voice model", choices=sorted(names), interactive=True)
|
304 |
with gr.Row():
|
305 |
clean_button = gr.Button("Refresh model", variant="primary")
|
|
|
306 |
with gr.Row():
|
307 |
with gr.Row():
|
308 |
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
309 |
but0 = gr.Button("Convert", variant="primary")
|
310 |
spk_item = gr.Slider(minimum=0, maximum=2333, step=1, label="Select Speaker/Singer ID", value=0, visible=False, interactive=False)
|
311 |
-
|
312 |
modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
|
313 |
|
314 |
input_audio0 = gr.Audio(label="The audio file to be processed", type="filepath")
|
|
|
303 |
models = gr.Dropdown(label="voice model", choices=sorted(names), interactive=True)
|
304 |
with gr.Row():
|
305 |
clean_button = gr.Button("Refresh model", variant="primary")
|
306 |
+
clean_button.click(fn=clean, inputs=[], outputs=[models])
|
307 |
with gr.Row():
|
308 |
with gr.Row():
|
309 |
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
310 |
but0 = gr.Button("Convert", variant="primary")
|
311 |
spk_item = gr.Slider(minimum=0, maximum=2333, step=1, label="Select Speaker/Singer ID", value=0, visible=False, interactive=False)
|
312 |
+
|
313 |
modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
|
314 |
|
315 |
input_audio0 = gr.Audio(label="The audio file to be processed", type="filepath")
|