TheStinger commited on
Commit
14f691b
β€’
1 Parent(s): 18bba3b

ported to english

Browse files
Files changed (1) hide show
  1. app.py +20 -20
app.py CHANGED
@@ -1472,10 +1472,10 @@ def zip_downloader(model):
1472
 
1473
  with gr.Blocks(theme=gr.themes.Base (), title='Mangio-RVC-Web πŸ’»') as app:
1474
  with gr.Tabs():
1475
- with gr.TabItem("Inferenza"):
1476
  gr.HTML("<h1> Ilaria RVC 2.0 πŸ’– </h1>")
1477
- gr.HTML("<h10> Lista dei modelli a cura di Ilaria: https://rentry.org/modelli-italiani </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,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.Scegli il modello.", choices=sorted(names), value=check_for_name())
1491
- refresh_button = gr.Button("Aggiorna", 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,
@@ -1508,22 +1508,22 @@ with gr.Blocks(theme=gr.themes.Base (), title='Mangio-RVC-Web πŸ’»') as app:
1508
  inputs=[sid0],
1509
  outputs=[spk_item],
1510
  )
1511
- but0 = gr.Button("Converti", variant="primary")
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])
1525
  dropbox.upload(fn=change_choices2, inputs=[], outputs=[input_audio0])
1526
- refresh_button2 = gr.Button("Aggiorna", variant="primary", size='sm')
1527
  record_button.change(fn=save_to_wav, inputs=[record_button], outputs=[input_audio0])
1528
  record_button.change(fn=change_choices2, inputs=[], outputs=[input_audio0])
1529
  with gr.Row():
@@ -1552,9 +1552,9 @@ with gr.Blocks(theme=gr.themes.Base (), title='Mangio-RVC-Web πŸ’»') as app:
1552
  animate_button = gr.Button('Animate')
1553
 
1554
  with gr.Column():
1555
- with gr.Accordion("Impostazioni Index", 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,14 +1576,14 @@ with gr.Blocks(theme=gr.themes.Base (), title='Mangio-RVC-Web πŸ’»') as app:
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
  )
1583
  animate_button.click(fn=mouth, inputs=[size, face, vc_output2, faces], outputs=[animation, preview])
1584
  with gr.Accordion("Opzioni avanzate", open=False):
1585
  f0method0 = gr.Radio(
1586
- label="Opzionale: Cambia il meteodo di estrazione del pitch.\nIlaria consiglia di lasciare tutto così com'è.\nrmvpe è il miglior metodo, in caso di problemi potete provare anche mangio-crepe.",
1587
  choices=["pm", "dio", "crepe-tiny", "mangio-crepe-tiny", "crepe", "harvest", "mangio-crepe", "rmvpe"], # Fork Feature. Add Crepe-Tiny
1588
  value="rmvpe",
1589
  interactive=True,
@@ -1821,19 +1821,19 @@ with gr.Blocks(theme=gr.themes.Base (), title='Mangio-RVC-Web πŸ’»') as app:
1821
  [vc_output3],
1822
  )
1823
  but1.click(fn=lambda: easy_uploader.clear())
1824
- with gr.TabItem("Scarica modelli"):
1825
  with gr.Row():
1826
- url=gr.Textbox(label="Inserisci l'URL del modello:")
1827
  with gr.Row():
1828
- model = gr.Textbox(label="Nome del modello (senza spazi):")
1829
- download_button=gr.Button("Scarica")
1830
  with gr.Row():
1831
  status_bar=gr.Textbox(label="")
1832
  download_button.click(fn=download_from_url, inputs=[url, model], outputs=[status_bar])
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
 
 
1472
 
1473
  with gr.Blocks(theme=gr.themes.Base (), title='Mangio-RVC-Web πŸ’»') as app:
1474
  with gr.Tabs():
1475
+ with gr.TabItem("Inference"):
1476
  gr.HTML("<h1> Ilaria RVC 2.0 πŸ’– </h1>")
1477
+ gr.HTML("<h10> You can find voice models on AI Hub: https://discord.gg/aihub </h10>")
1478
+ gr.HTML("<h4> Huggingface port by Ilaria of the Rejekt Easy GUI </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.Choose the model.", 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 from man to man (or woman to woman); 12 from man to woman and -12 from woman to man.", value=0)
1495
  #clean_button = gr.Button(i18n("εΈθ½½ιŸ³θ‰²ηœζ˜Ύε­˜"), variant="primary")
1496
  spk_item = gr.Slider(
1497
  minimum=0,
 
1508
  inputs=[sid0],
1509
  outputs=[spk_item],
1510
  )
1511
+ but0 = gr.Button("Convert", variant="primary")
1512
  with gr.Row():
1513
  with gr.Column():
1514
  with gr.Row():
1515
+ dropbox = gr.File(label="Drag your audio file and click refresh.")
1516
  with gr.Row():
1517
+ record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath")
1518
  with gr.Row():
1519
  input_audio0 = gr.Dropdown(
1520
+ label="2.Choose the audio file.",
1521
  value="./audios/Test_Audio.mp3",
1522
  choices=audio_files
1523
  )
1524
  dropbox.upload(fn=save_to_wav2, inputs=[dropbox], outputs=[input_audio0])
1525
  dropbox.upload(fn=change_choices2, inputs=[], outputs=[input_audio0])
1526
+ refresh_button2 = gr.Button("Refresh", variant="primary", size='sm')
1527
  record_button.change(fn=save_to_wav, inputs=[record_button], outputs=[input_audio0])
1528
  record_button.change(fn=change_choices2, inputs=[], outputs=[input_audio0])
1529
  with gr.Row():
 
1552
  animate_button = gr.Button('Animate')
1553
 
1554
  with gr.Column():
1555
+ with gr.Accordion("Index Settings", open=False):
1556
  file_index1 = gr.Dropdown(
1557
+ label="3. Choose the index file (in case it wasn't automatically found.)",
1558
  choices=get_indexes(),
1559
  value=get_index(),
1560
  interactive=True,
 
1576
  interactive=True,
1577
  )
1578
  vc_output2 = gr.Audio(
1579
+ label="Final Result! (Click on the three dots to download the audio)",
1580
  type='filepath',
1581
  interactive=False,
1582
  )
1583
  animate_button.click(fn=mouth, inputs=[size, face, vc_output2, faces], outputs=[animation, preview])
1584
  with gr.Accordion("Opzioni avanzate", open=False):
1585
  f0method0 = gr.Radio(
1586
+ label="Optional: Change the Pitch Extraction Algorithm. Extraction methods are sorted from 'worst quality' to 'best quality'. If you don't know what you're doing, leave rmvpe.",
1587
  choices=["pm", "dio", "crepe-tiny", "mangio-crepe-tiny", "crepe", "harvest", "mangio-crepe", "rmvpe"], # Fork Feature. Add Crepe-Tiny
1588
  value="rmvpe",
1589
  interactive=True,
 
1821
  [vc_output3],
1822
  )
1823
  but1.click(fn=lambda: easy_uploader.clear())
1824
+ with gr.TabItem("Download Voice Models"):
1825
  with gr.Row():
1826
+ url=gr.Textbox(label="Huggingface Link:")
1827
  with gr.Row():
1828
+ model = gr.Textbox(label="Name of the model (without spaces):")
1829
+ download_button=gr.Button("Download")
1830
  with gr.Row():
1831
  status_bar=gr.Textbox(label="")
1832
  download_button.click(fn=download_from_url, inputs=[url, model], outputs=[status_bar])
1833
  with gr.Row():
1834
  gr.Markdown(
1835
  """
1836
+ Made with πŸ’– by Ilaria | Support her on [Ko-Fi](https://ko-fi.com/ilariaowo)
1837
  """
1838
  )
1839