nevreal commited on
Commit
e51616a
·
verified ·
1 Parent(s): 7634506

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -17
app.py CHANGED
@@ -808,8 +808,8 @@ def change_f0_method(f0method8):
808
  return {"visible": visible, "__type__": "update"}
809
 
810
 
811
- with gr.Blocks(title="RVC WebUI") as app:
812
- gr.Markdown("## RVC WebUI")
813
  gr.Markdown(
814
  value=i18n(
815
  "本软件以MIT协议开源, 作者不对软件具备任何控制力, 使用软件者、传播软件导出的声音者自负全责. <br>如不认可该条款, 则不能使用或引用软件包内任何代码和文件. 详见根目录<b>LICENSE</b>."
@@ -838,7 +838,7 @@ with gr.Blocks(title="RVC WebUI") as app:
838
  label=i18n("变调(整数, 半音数量, 升八度12降八度-12)"),
839
  value=0,
840
  )
841
- f0method0 = gr.Radio(
842
  label=i18n(
843
  "选择音高提取算法,输入歌声可用pm提速,harvest低音好但巨慢无比,crepe效果好但吃GPU,rmvpe效果最好且微吃GPU"
844
  ),
@@ -955,7 +955,7 @@ with gr.Blocks(title="RVC WebUI") as app:
955
  input_audio0,
956
  vc_transform0,
957
  f0_file,
958
- f0method0,
959
  file_index1,
960
  file_index2,
961
  # file_big_npy1,
@@ -993,18 +993,7 @@ with gr.Blocks(title="RVC WebUI") as app:
993
  choices=sorted(index_paths),
994
  interactive=True,
995
  )
996
- f0method1 = gr.Radio(
997
- label=i18n(
998
- "选择音高提取算法,输入歌声可用pm提速,harvest低音好但巨慢无比,crepe效果好但吃GPU,rmvpe效果最好且微吃GPU"
999
- ),
1000
- choices=(
1001
- ["pm", "harvest", "crepe", "rmvpe"]
1002
- if config.dml == False
1003
- else ["pm", "harvest", "rmvpe"]
1004
- ),
1005
- value="rmvpe",
1006
- interactive=True,
1007
- )
1008
  format1 = gr.Radio(
1009
  label=i18n("导出文件格式"),
1010
  choices=["wav", "flac", "mp3", "m4a"],
@@ -1093,7 +1082,7 @@ with gr.Blocks(title="RVC WebUI") as app:
1093
  opt_input,
1094
  inputs,
1095
  vc_transform1,
1096
- f0method1,
1097
  file_index3,
1098
  file_index4,
1099
  # file_big_npy2,
 
808
  return {"visible": visible, "__type__": "update"}
809
 
810
 
811
+ with gr.Blocks(title="NEX RVC WebUI") as app:
812
+ gr.Markdown("# NEX RVC WebUI")
813
  gr.Markdown(
814
  value=i18n(
815
  "本软件以MIT协议开源, 作者不对软件具备任何控制力, 使用软件者、传播软件导出的声音者自负全责. <br>如不认可该条款, 则不能使用或引用软件包内任何代码和文件. 详见根目录<b>LICENSE</b>."
 
838
  label=i18n("变调(整数, 半音数量, 升八度12降八度-12)"),
839
  value=0,
840
  )
841
+ f0methodt = gr.Radio(
842
  label=i18n(
843
  "选择音高提取算法,输入歌声可用pm提速,harvest低音好但巨慢无比,crepe效果好但吃GPU,rmvpe效果最好且微吃GPU"
844
  ),
 
955
  input_audio0,
956
  vc_transform0,
957
  f0_file,
958
+ f0methodt,
959
  file_index1,
960
  file_index2,
961
  # file_big_npy1,
 
993
  choices=sorted(index_paths),
994
  interactive=True,
995
  )
996
+
 
 
 
 
 
 
 
 
 
 
 
997
  format1 = gr.Radio(
998
  label=i18n("导出文件格式"),
999
  choices=["wav", "flac", "mp3", "m4a"],
 
1082
  opt_input,
1083
  inputs,
1084
  vc_transform1,
1085
+ f0methodt,
1086
  file_index3,
1087
  file_index4,
1088
  # file_big_npy2,