Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ for name in os.listdir(weight_root):
|
|
16 |
index_paths = []
|
17 |
|
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 |
with gr.TabItem("inference"):
|
22 |
with gr.Tabs():
|
@@ -26,7 +26,6 @@ with gr.Blocks(title="RVC UI") as app:
|
|
26 |
with gr.Row():
|
27 |
with gr.Row():
|
28 |
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
29 |
-
but0 = gr.Button("Convert", variant="primary")
|
30 |
spk_item = gr.Slider(minimum=0, maximum=2333, step=1, label="Select Speaker/Singer ID", value=0, visible=False, interactive=False)
|
31 |
clean_button.click(fn=clean, inputs=[], outputs=[models], api_name="infer_clean")
|
32 |
modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
|
@@ -40,7 +39,7 @@ with gr.Blocks(title="RVC UI") as app:
|
|
40 |
protect0 = gr.Slider(minimum=0, maximum=0.5, label="Protect voiceless consonants and breath sounds to prevent artifacts such as tearing in electronic music. Set to 0.5 to disable. Decrease the value to increase protection, but it may reduce indexing accuracy", value=0.33, step=0.01, interactive=True)
|
41 |
filter_radius0 = gr.Slider(minimum=0, maximum=7, label="If >=3: apply median filtering to the harvested pitch results. The value represents the filter radius and can reduce breathiness.", value=3, step=1, interactive=True)
|
42 |
f0_file = gr.File(label="F0 curve file (optional). One pitch per line. Replaces the default F0 and pitch modulation", visible=False)
|
43 |
-
|
44 |
vc_output1 = gr.Textbox(label="Output information", interactive=False)
|
45 |
vc_output2 = gr.Audio(label="Export audio (click on the three dots in the lower right corner to download)", type="filepath", interactive=False)
|
46 |
#refresh_button.click(fn=change_choices, inputs=[], outputs=[models, file_index2], api_name="infer_refresh")
|
|
|
16 |
index_paths = []
|
17 |
|
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 |
with gr.TabItem("inference"):
|
22 |
with gr.Tabs():
|
|
|
26 |
with gr.Row():
|
27 |
with gr.Row():
|
28 |
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
|
|
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)
|
|
|
39 |
protect0 = gr.Slider(minimum=0, maximum=0.5, label="Protect voiceless consonants and breath sounds to prevent artifacts such as tearing in electronic music. Set to 0.5 to disable. Decrease the value to increase protection, but it may reduce indexing accuracy", value=0.33, step=0.01, interactive=True)
|
40 |
filter_radius0 = gr.Slider(minimum=0, maximum=7, label="If >=3: apply median filtering to the harvested pitch results. The value represents the filter radius and can reduce breathiness.", value=3, step=1, interactive=True)
|
41 |
f0_file = gr.File(label="F0 curve file (optional). One pitch per line. Replaces the default F0 and pitch modulation", visible=False)
|
42 |
+
but0 = gr.Button("Convert", variant="primary")
|
43 |
vc_output1 = gr.Textbox(label="Output information", interactive=False)
|
44 |
vc_output2 = gr.Audio(label="Export audio (click on the three dots in the lower right corner to download)", type="filepath", interactive=False)
|
45 |
#refresh_button.click(fn=change_choices, inputs=[], outputs=[models, file_index2], api_name="infer_refresh")
|