Update Easy-infer.py
Browse files- Easy-infer.py +16 -14
Easy-infer.py
CHANGED
|
@@ -934,13 +934,13 @@ with gr.Blocks(title="Ilaria RVC 💖") as app:
|
|
| 934 |
visible=True,
|
| 935 |
interactive=False,
|
| 936 |
)
|
| 937 |
-
vc_transform0 = gr.
|
| 938 |
-
|
| 939 |
-
|
| 940 |
-
|
| 941 |
-
|
| 942 |
-
|
| 943 |
-
|
| 944 |
)
|
| 945 |
clean_button.click(
|
| 946 |
fn=clean, inputs=[], outputs=[sid0], api_name="infer_clean"
|
|
@@ -1400,11 +1400,11 @@ with gr.Blocks(title="Ilaria RVC 💖") as app:
|
|
| 1400 |
interactive=True,
|
| 1401 |
)
|
| 1402 |
if_f0_3 = gr.Radio(
|
| 1403 |
-
|
| 1404 |
-
|
| 1405 |
-
|
| 1406 |
-
|
| 1407 |
-
|
| 1408 |
gpus6 = gr.Textbox(
|
| 1409 |
label=i18n("GPU ID (Leave 0 if you have only one GPU, use 0-1 for multiple GPus)"),
|
| 1410 |
value=gpus,
|
|
@@ -1553,11 +1553,13 @@ with gr.Blocks(title="Ilaria RVC 💖") as app:
|
|
| 1553 |
|
| 1554 |
with gr.Group():
|
| 1555 |
uvr_handler = UVRHANDLER()
|
|
|
|
| 1556 |
with gr.Row():
|
| 1557 |
-
|
| 1558 |
output_dir = gr.Textbox('opt/', label='Output Directory')
|
|
|
|
| 1559 |
model_name = gr.Dropdown(choices=uvr5_names, label='Models')
|
| 1560 |
-
|
| 1561 |
|
| 1562 |
with gr.Row():
|
| 1563 |
LOADMODELBUTTON = gr.Button('Load Model', variant="primary")
|
|
|
|
| 934 |
visible=True,
|
| 935 |
interactive=False,
|
| 936 |
)
|
| 937 |
+
vc_transform0 = gr.Slider(
|
| 938 |
+
label=i18n(
|
| 939 |
+
"Pitch: -24 is lower (2 octaves) and 24 is higher (2 octaves)"),
|
| 940 |
+
minimum=-24,
|
| 941 |
+
maximum=24,
|
| 942 |
+
default=0,
|
| 943 |
+
step=1,
|
| 944 |
)
|
| 945 |
clean_button.click(
|
| 946 |
fn=clean, inputs=[], outputs=[sid0], api_name="infer_clean"
|
|
|
|
| 1400 |
interactive=True,
|
| 1401 |
)
|
| 1402 |
if_f0_3 = gr.Radio(
|
| 1403 |
+
label=i18n("Pitch Guidance"),
|
| 1404 |
+
choices=[True, False],
|
| 1405 |
+
value=True,
|
| 1406 |
+
interactive=True,
|
| 1407 |
+
)
|
| 1408 |
gpus6 = gr.Textbox(
|
| 1409 |
label=i18n("GPU ID (Leave 0 if you have only one GPU, use 0-1 for multiple GPus)"),
|
| 1410 |
value=gpus,
|
|
|
|
| 1553 |
|
| 1554 |
with gr.Group():
|
| 1555 |
uvr_handler = UVRHANDLER()
|
| 1556 |
+
audios = gr.File()
|
| 1557 |
with gr.Row():
|
| 1558 |
+
|
| 1559 |
output_dir = gr.Textbox('opt/', label='Output Directory')
|
| 1560 |
+
with gr.Row():
|
| 1561 |
model_name = gr.Dropdown(choices=uvr5_names, label='Models')
|
| 1562 |
+
model_status = gr.Textbox(placeholder='Waiting...', interactive=False, label='Model Information')
|
| 1563 |
|
| 1564 |
with gr.Row():
|
| 1565 |
LOADMODELBUTTON = gr.Button('Load Model', variant="primary")
|