Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,37 +227,14 @@ with app:
|
|
| 227 |
gr.Markdown(initial_md)
|
| 228 |
with gr.Row():
|
| 229 |
with gr.Column():
|
| 230 |
-
model_name = gr.Dropdown(
|
| 231 |
-
|
| 232 |
-
choices=models,
|
| 233 |
-
value=models[0],
|
| 234 |
-
)
|
| 235 |
-
f0_key_up = gr.Number(
|
| 236 |
-
label="Tune",
|
| 237 |
-
value=6,
|
| 238 |
-
)
|
| 239 |
with gr.Column():
|
| 240 |
-
f0_method = gr.Radio(
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
)
|
| 246 |
-
index_rate = gr.Slider(
|
| 247 |
-
minimum=0,
|
| 248 |
-
maximum=1,
|
| 249 |
-
label="Index rate",
|
| 250 |
-
value=1,
|
| 251 |
-
interactive=True,
|
| 252 |
-
)
|
| 253 |
-
protect0 = gr.Slider(
|
| 254 |
-
minimum=0,
|
| 255 |
-
maximum=0.5,
|
| 256 |
-
label="Protect",
|
| 257 |
-
value=0.33,
|
| 258 |
-
step=0.01,
|
| 259 |
-
interactive=True,
|
| 260 |
-
)
|
| 261 |
with gr.Row():
|
| 262 |
with gr.Column():
|
| 263 |
tts_voice = gr.Dropdown(
|
|
|
|
| 227 |
gr.Markdown(initial_md)
|
| 228 |
with gr.Row():
|
| 229 |
with gr.Column():
|
| 230 |
+
model_name = gr.Dropdown(label="Model",choices=models,value=models[0])
|
| 231 |
+
f0_key_up = gr.Number(label="Tune",value=6)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
with gr.Column():
|
| 233 |
+
f0_method = gr.Radio(label="Pitch extraction method (pm: very fast, low quality, rmvpe: a little slow, high quality)",choices=["pm", "rmvpe"], value="rmvpe",visible=False)
|
| 234 |
+
index_rate = gr.Slider(minimum=0,maximum=1,label="Index rate",value=1,interactive=True)
|
| 235 |
+
protect0 = gr.Slider(minimum=0,maximum=0.5,label="Protect",value=0.33,step=0.01,interactive=True)
|
| 236 |
+
|
| 237 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 238 |
with gr.Row():
|
| 239 |
with gr.Column():
|
| 240 |
tts_voice = gr.Dropdown(
|