TIMBOVILL commited on
Commit
1e69039
·
verified ·
1 Parent(s): f9207a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1628,7 +1628,6 @@ with gr.Blocks(theme=theme) as app:
1628
 
1629
  animate_button.click(fn=mouth, inputs=[size, face, vc_output2, faces], outputs=[animation, preview])
1630
 
1631
- with gr.Accordion("Advanced Options", open=False):
1632
  f0method0 = gr.Radio(
1633
  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.",
1634
  choices=["pm", "dio", "crepe-tiny", "mangio-crepe-tiny", "crepe", "harvest", "mangio-crepe", "rmvpe"], # Fork Feature. Add Crepe-Tiny
@@ -1756,7 +1755,7 @@ with gr.Blocks(theme=theme) as app:
1756
  with gr.Row():
1757
  with gr.Column():
1758
  vc_transform1 = gr.Number(
1759
- label=i18n("变调(整数, 半音数量, 升八度12降八度-12)"), value=0
1760
  )
1761
  opt_input = gr.Textbox(label=i18n("指定输出文件夹"), value="opt")
1762
  f0method1 = gr.Radio(
@@ -1764,8 +1763,8 @@ with gr.Blocks(theme=theme) as app:
1764
  "选择音高提取算法,输入歌声可用pm提速,harvest低音好但巨慢无比,crepe效果好但吃GPU"
1765
  ),
1766
  choices=["pm", "harvest", "crepe", "rmvpe"],
1767
- value="rmvpe",
1768
- interactive=True,
1769
  )
1770
  filter_radius1 = gr.Slider(
1771
  minimum=0,
 
1628
 
1629
  animate_button.click(fn=mouth, inputs=[size, face, vc_output2, faces], outputs=[animation, preview])
1630
 
 
1631
  f0method0 = gr.Radio(
1632
  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.",
1633
  choices=["pm", "dio", "crepe-tiny", "mangio-crepe-tiny", "crepe", "harvest", "mangio-crepe", "rmvpe"], # Fork Feature. Add Crepe-Tiny
 
1755
  with gr.Row():
1756
  with gr.Column():
1757
  vc_transform1 = gr.Number(
1758
+ label=i18n("变调(整数, 半音数量, 升八度12降八度-12)"), value=0
1759
  )
1760
  opt_input = gr.Textbox(label=i18n("指定输出文件夹"), value="opt")
1761
  f0method1 = gr.Radio(
 
1763
  "选择音高提取算法,输入歌声可用pm提速,harvest低音好但巨慢无比,crepe效果好但吃GPU"
1764
  ),
1765
  choices=["pm", "harvest", "crepe", "rmvpe"],
1766
+ value="rmvpe",
1767
+ interactive=True,
1768
  )
1769
  filter_radius1 = gr.Slider(
1770
  minimum=0,