Spaces:
Runtime error
Runtime error
TheStinger
commited on
Commit
•
90f67b7
1
Parent(s):
3ebcd42
Update app.py
Browse files
app.py
CHANGED
@@ -1475,7 +1475,7 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
|
|
1475 |
with gr.TabItem("Inference"):
|
1476 |
gr.HTML("<h1> Ilaria RVC 2.0 💖 </h1>")
|
1477 |
gr.HTML("<h10> Importata per l'Italia da Ilaria </h10>")
|
1478 |
-
gr.HTML("<h4> Sostieni Ilaria su Ko-Fi donando qualsiasi somma
|
1479 |
|
1480 |
# Inference Preset Row
|
1481 |
# with gr.Row():
|
@@ -1487,11 +1487,11 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
|
|
1487 |
|
1488 |
# Other RVC stuff
|
1489 |
with gr.Row():
|
1490 |
-
sid0 = gr.Dropdown(label="1.
|
1491 |
refresh_button = gr.Button("Refresh", variant="primary")
|
1492 |
if check_for_name() != '':
|
1493 |
get_vc(sorted(names)[0])
|
1494 |
-
vc_transform0 = gr.Number(label="
|
1495 |
#clean_button = gr.Button(i18n("卸载音色省显存"), variant="primary")
|
1496 |
spk_item = gr.Slider(
|
1497 |
minimum=0,
|
@@ -1512,13 +1512,13 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
|
|
1512 |
with gr.Row():
|
1513 |
with gr.Column():
|
1514 |
with gr.Row():
|
1515 |
-
dropbox = gr.File(label="
|
1516 |
with gr.Row():
|
1517 |
-
record_button=gr.Audio(source="microphone", label="
|
1518 |
with gr.Row():
|
1519 |
input_audio0 = gr.Dropdown(
|
1520 |
-
label="2.
|
1521 |
-
value="./audios/
|
1522 |
choices=audio_files
|
1523 |
)
|
1524 |
dropbox.upload(fn=save_to_wav2, inputs=[dropbox], outputs=[input_audio0])
|
@@ -1554,7 +1554,7 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
|
|
1554 |
with gr.Column():
|
1555 |
with gr.Accordion("Index Settings", open=False):
|
1556 |
file_index1 = gr.Dropdown(
|
1557 |
-
label="3.
|
1558 |
choices=get_indexes(),
|
1559 |
value=get_index(),
|
1560 |
interactive=True,
|
@@ -1576,7 +1576,7 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
|
|
1576 |
interactive=True,
|
1577 |
)
|
1578 |
vc_output2 = gr.Audio(
|
1579 |
-
label="
|
1580 |
type='filepath',
|
1581 |
interactive=False,
|
1582 |
)
|
@@ -1833,7 +1833,7 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
|
|
1833 |
with gr.Row():
|
1834 |
gr.Markdown(
|
1835 |
"""
|
1836 |
-
Made with ❤️ by
|
1837 |
"""
|
1838 |
)
|
1839 |
|
|
|
1475 |
with gr.TabItem("Inference"):
|
1476 |
gr.HTML("<h1> Ilaria RVC 2.0 💖 </h1>")
|
1477 |
gr.HTML("<h10> Importata per l'Italia da Ilaria </h10>")
|
1478 |
+
gr.HTML("<h4> Sostieni Ilaria su Ko-Fi donando qualsiasi somma: https://ko-fi.com/ilariaowo </h4>")
|
1479 |
|
1480 |
# Inference Preset Row
|
1481 |
# with gr.Row():
|
|
|
1487 |
|
1488 |
# Other RVC stuff
|
1489 |
with gr.Row():
|
1490 |
+
sid0 = gr.Dropdown(label="1.Scegli il modello.", choices=sorted(names), value=check_for_name())
|
1491 |
refresh_button = gr.Button("Refresh", variant="primary")
|
1492 |
if check_for_name() != '':
|
1493 |
get_vc(sorted(names)[0])
|
1494 |
+
vc_transform0 = gr.Number(label="Pitch: 0 da uomo a uomo (o donna a donna); 12 da uomo a donna e -12 da donna a uomo", value=0)
|
1495 |
#clean_button = gr.Button(i18n("卸载音色省显存"), variant="primary")
|
1496 |
spk_item = gr.Slider(
|
1497 |
minimum=0,
|
|
|
1512 |
with gr.Row():
|
1513 |
with gr.Column():
|
1514 |
with gr.Row():
|
1515 |
+
dropbox = gr.File(label="Inserisci il file audio e clicca il tasto aggiorna.")
|
1516 |
with gr.Row():
|
1517 |
+
record_button=gr.Audio(source="microphone", label="Oppure registra dal microfono.", type="filepath")
|
1518 |
with gr.Row():
|
1519 |
input_audio0 = gr.Dropdown(
|
1520 |
+
label="2.Scegli l'audio.",
|
1521 |
+
value="./audios/Test_Audio.mp3",
|
1522 |
choices=audio_files
|
1523 |
)
|
1524 |
dropbox.upload(fn=save_to_wav2, inputs=[dropbox], outputs=[input_audio0])
|
|
|
1554 |
with gr.Column():
|
1555 |
with gr.Accordion("Index Settings", open=False):
|
1556 |
file_index1 = gr.Dropdown(
|
1557 |
+
label="3. Scegli il file index (nel caso non sia stato fatto in automatico.)",
|
1558 |
choices=get_indexes(),
|
1559 |
value=get_index(),
|
1560 |
interactive=True,
|
|
|
1576 |
interactive=True,
|
1577 |
)
|
1578 |
vc_output2 = gr.Audio(
|
1579 |
+
label="Risultato finale (Click sui tre puntini per scaricare l'audio)",
|
1580 |
type='filepath',
|
1581 |
interactive=False,
|
1582 |
)
|
|
|
1833 |
with gr.Row():
|
1834 |
gr.Markdown(
|
1835 |
"""
|
1836 |
+
Made with ❤️ by Ilaria | Sostieni Ilaria su [Ko-Fi](https://ko-fi.com/ilariaowo)
|
1837 |
"""
|
1838 |
)
|
1839 |
|