chitsanfei commited on
Commit
98905b8
·
verified ·
1 Parent(s): 5fccee5

😫: disable example for a while

Browse files
Files changed (1) hide show
  1. app.py +31 -31
app.py CHANGED
@@ -447,7 +447,7 @@ def active_tts_conf():
447
 
448
  def tts_voice_conf():
449
  return gr.Dropdown(
450
- label="tts 语音选择",
451
  choices=voices,
452
  visible=False,
453
  value="en-US-EmmaMultilingualNeural-Female",
@@ -505,7 +505,7 @@ def denoise_conf():
505
  def effects_conf():
506
  return gr.Checkbox(
507
  False,
508
- label="混响",
509
  # info="",
510
  container=False,
511
  visible=True,
@@ -649,35 +649,35 @@ def get_gui(theme):
649
  outputs=[output_base],
650
  )
651
 
652
- gr.Examples(
653
- examples=[
654
- [
655
- ["./mnr.mp3"],
656
- "./emu_v2.pth",
657
- "rmvpe+",
658
- 0,
659
- "./emu_v2.index",
660
- 0.75,
661
- 3,
662
- 0.25,
663
- 0.50,
664
- ],
665
- ],
666
- fn=run,
667
- inputs=[
668
- aud,
669
- model,
670
- algo,
671
- algo_lvl,
672
- indx,
673
- indx_inf,
674
- res_fc,
675
- envel_r,
676
- const,
677
- ],
678
- outputs=[output_base],
679
- cache_examples=False,
680
- )
681
 
682
  return app
683
 
 
447
 
448
  def tts_voice_conf():
449
  return gr.Dropdown(
450
+ label="语音选择",
451
  choices=voices,
452
  visible=False,
453
  value="en-US-EmmaMultilingualNeural-Female",
 
505
  def effects_conf():
506
  return gr.Checkbox(
507
  False,
508
+ label="去混响",
509
  # info="",
510
  container=False,
511
  visible=True,
 
649
  outputs=[output_base],
650
  )
651
 
652
+ # gr.Examples(
653
+ # examples=[
654
+ # [
655
+ # ["./mnr.mp3"],
656
+ # "./emu_v2.pth",
657
+ # "rmvpe+",
658
+ # 0,
659
+ # "./emu_v2.index",
660
+ # 0.75,
661
+ # 3,
662
+ # 0.25,
663
+ # 0.50,
664
+ # ],
665
+ # ],
666
+ # fn=run,
667
+ # inputs=[
668
+ # aud,
669
+ # model,
670
+ # algo,
671
+ # algo_lvl,
672
+ # indx,
673
+ # indx_inf,
674
+ # res_fc,
675
+ # envel_r,
676
+ # const,
677
+ # ],
678
+ # outputs=[output_base],
679
+ # cache_examples=False,
680
+ # )
681
 
682
  return app
683