Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,18 +18,18 @@ index_paths = []
|
|
18 |
with gr.Blocks(title="RVC UI") as app:
|
19 |
gr.Markdown("<center><h1> RVC UI 🗣️")
|
20 |
gr.Markdown("<h1>this ui not done yet!")
|
21 |
-
models = gr.Dropdown(label="voice model", choices=sorted(names))
|
22 |
-
clean_button = gr.Button("Refresh model", variant="primary")
|
23 |
-
|
24 |
-
with gr.Row():
|
25 |
-
with gr.Row():
|
26 |
-
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
27 |
-
but0 = gr.Button("Convert", variant="primary")
|
28 |
-
spk_item = gr.Slider(minimum=0, maximum=2333, step=1, label="Select Speaker/Singer ID", value=0, visible=False, interactive=False)
|
29 |
-
clean_button.click(fn=clean, inputs=[], outputs=[models], api_name="infer_clean")
|
30 |
-
modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
|
31 |
|
32 |
with gr.Tabs():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
with gr.TabItem("Single inference"):
|
34 |
input_audio0 = gr.Audio(label="The audio file to be processed", type="filepath")
|
35 |
file_index1 = gr.File(label="Path to the feature index file. Leave blank to use the selected result from the dropdown")
|
|
|
18 |
with gr.Blocks(title="RVC UI") as app:
|
19 |
gr.Markdown("<center><h1> RVC UI 🗣️")
|
20 |
gr.Markdown("<h1>this ui not done yet!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
with gr.Tabs():
|
23 |
+
models = gr.Dropdown(label="voice model", choices=sorted(names))
|
24 |
+
clean_button = gr.Button("Refresh model", variant="primary")
|
25 |
+
with gr.Row():
|
26 |
+
with gr.Row():
|
27 |
+
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
28 |
+
but0 = gr.Button("Convert", variant="primary")
|
29 |
+
spk_item = gr.Slider(minimum=0, maximum=2333, step=1, label="Select Speaker/Singer ID", value=0, visible=False, interactive=False)
|
30 |
+
clean_button.click(fn=clean, inputs=[], outputs=[models], api_name="infer_clean")
|
31 |
+
modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
|
32 |
+
|
33 |
with gr.TabItem("Single inference"):
|
34 |
input_audio0 = gr.Audio(label="The audio file to be processed", type="filepath")
|
35 |
file_index1 = gr.File(label="Path to the feature index file. Leave blank to use the selected result from the dropdown")
|