Blane187 commited on
Commit
de8cf6c
1 Parent(s): 2bdebad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -1557,7 +1557,7 @@ with gr.Blocks(theme="Hev832/Applio", title='Mangio-RVC-Web 💻') as app:
1557
  with gr.Accordion("Advanced Settings", open=False):
1558
  f0method0 = gr.Radio(
1559
  label="Optional: Change the Pitch Extraction Algorithm.\nExtraction methods are sorted from 'worst quality' to 'best quality'.\nmangio-crepe may or may not be better than rmvpe in cases where 'smoothness' is more important, but rmvpe is the best overall.",
1560
- choices=["pm", "dio", "crepe-tiny", "mangio-crepe-tiny", "crepe", "harvest", "mangio-crepe", "rmvpe"], # Fork Feature. Add Crepe-Tiny
1561
  value="rmvpe",
1562
  interactive=True,
1563
  )
@@ -1810,15 +1810,7 @@ with gr.Blocks(theme="Hev832/Applio", title='Mangio-RVC-Web 💻') as app:
1810
  """
1811
  )
1812
 
1813
- def has_two_files_in_pretrained_folder():
1814
- pretrained_folder = "./pretrained/"
1815
- if not os.path.exists(pretrained_folder):
1816
- return False
1817
-
1818
- files_in_folder = os.listdir(pretrained_folder)
1819
- num_files = len(files_in_folder)
1820
- return num_files >= 2
1821
-
1822
 
1823
 
1824
 
 
1557
  with gr.Accordion("Advanced Settings", open=False):
1558
  f0method0 = gr.Radio(
1559
  label="Optional: Change the Pitch Extraction Algorithm.\nExtraction methods are sorted from 'worst quality' to 'best quality'.\nmangio-crepe may or may not be better than rmvpe in cases where 'smoothness' is more important, but rmvpe is the best overall.",
1560
+ choices=["pm", "dio", "crepe-tiny", "hex-crepe-tiny", "crepe", "harvest", "hex-crepe", "rmvpe", "hybrid[rmvpe+dio]"], # Fork Feature. Add Crepe-Tiny
1561
  value="rmvpe",
1562
  interactive=True,
1563
  )
 
1810
  """
1811
  )
1812
 
1813
+
 
 
 
 
 
 
 
 
1814
 
1815
 
1816