Update app.py
Browse files
app.py
CHANGED
|
@@ -10,14 +10,17 @@ with gr.Blocks() as demo:
|
|
| 10 |
model_name = gr.Textbox(label="Model Name For Inference")
|
| 11 |
with gr.Row():
|
| 12 |
input_path = gr.Audio(label="Input Audio Path", type="filepath")
|
|
|
|
| 13 |
with gr.Accordion("Inference Settings"):
|
| 14 |
pitch = gr.Slider(minimum=-12, maximum=12, step=1, label="Pitch", value=0)
|
| 15 |
f0_method = gr.Dropdown(choices=["rmvpe", "pm", "harvest"], label="f0 Method", value="rmvpe")
|
| 16 |
index_rate = gr.Slider(minimum=0, maximum=1, step=0.01, label="Index Rate", value=0.5)
|
| 17 |
volume_normalization = gr.Slider(minimum=0, maximum=1, step=0.01, label="Volume Normalization", value=0)
|
| 18 |
consonant_protection = gr.Slider(minimum=0, maximum=1, step=0.01, label="Consonant Protection", value=0.5)
|
|
|
|
| 19 |
save_as = gr.Textbox(value="/content/RVC/audios/output_audio.wav", label="Output Audio Path")
|
| 20 |
-
|
|
|
|
| 21 |
run_btn = gr.Button("Run Inference")
|
| 22 |
with gr.Row():
|
| 23 |
output_message = gr.Textbox(label="Output Message")
|
|
|
|
| 10 |
model_name = gr.Textbox(label="Model Name For Inference")
|
| 11 |
with gr.Row():
|
| 12 |
input_path = gr.Audio(label="Input Audio Path", type="filepath")
|
| 13 |
+
with gr.Row():
|
| 14 |
with gr.Accordion("Inference Settings"):
|
| 15 |
pitch = gr.Slider(minimum=-12, maximum=12, step=1, label="Pitch", value=0)
|
| 16 |
f0_method = gr.Dropdown(choices=["rmvpe", "pm", "harvest"], label="f0 Method", value="rmvpe")
|
| 17 |
index_rate = gr.Slider(minimum=0, maximum=1, step=0.01, label="Index Rate", value=0.5)
|
| 18 |
volume_normalization = gr.Slider(minimum=0, maximum=1, step=0.01, label="Volume Normalization", value=0)
|
| 19 |
consonant_protection = gr.Slider(minimum=0, maximum=1, step=0.01, label="Consonant Protection", value=0.5)
|
| 20 |
+
with gr.Row():
|
| 21 |
save_as = gr.Textbox(value="/content/RVC/audios/output_audio.wav", label="Output Audio Path")
|
| 22 |
+
|
| 23 |
+
|
| 24 |
run_btn = gr.Button("Run Inference")
|
| 25 |
with gr.Row():
|
| 26 |
output_message = gr.Textbox(label="Output Message")
|