Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,10 +21,11 @@ with gr.Blocks(title="RVC UI") as app:
|
|
21 |
gr.Markdown("<h1>this ui not done yet!")
|
22 |
models = gr.Dropdown(label="voice model", choices=sorted(names))
|
23 |
with gr.Row():
|
24 |
-
pith_voice = gr.Number(label="Transpose (integer, number of semitones, raise by an octave: 12, lower by an octave: -12)",value=0
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
28 |
modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
|
29 |
but0 = gr.Button("Convert", variant="primary")
|
30 |
with gr.Tabs():
|
|
|
21 |
gr.Markdown("<h1>this ui not done yet!")
|
22 |
models = gr.Dropdown(label="voice model", choices=sorted(names))
|
23 |
with gr.Row():
|
24 |
+
pith_voice = gr.Number(label="Transpose (integer, number of semitones, raise by an octave: 12, lower by an octave: -12)",value=0)
|
25 |
+
with gr.Row():
|
26 |
+
clean_button = gr.Button("Refresh model", variant="primary")
|
27 |
+
spk_item = gr.Slider(minimum=0,maximum=2333,step=1,label="Select Speaker/Singer ID",value=0,visible=False,interactive=False)
|
28 |
+
clean_button.click(fn=clean, inputs=[], outputs=[models], api_name="infer_clean")
|
29 |
modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
|
30 |
but0 = gr.Button("Convert", variant="primary")
|
31 |
with gr.Tabs():
|