chitsanfei commited on
Commit
a7ab32b
·
verified ·
1 Parent(s): 41afeb2

🤦‍♂️: test ui change

Browse files
Files changed (1) hide show
  1. app.py +30 -30
app.py CHANGED
@@ -600,6 +600,36 @@ def get_gui(theme):
600
  aud = audio_conf()
601
  # gr.HTML("<hr>")
602
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
603
  tts_button.click(
604
  fn=infer_tts_audio,
605
  inputs=[tts_voice, tts_text, tts_active_play],
@@ -666,36 +696,6 @@ def get_gui(theme):
666
  outputs=[output_base],
667
  )
668
 
669
- gr.Examples(
670
- examples=[
671
- [
672
- [""],
673
- "./emu_v2.pth",
674
- "rmvpe+",
675
- 0,
676
- "./emu_v2.index",
677
- 0.75,
678
- 3,
679
- 0.25,
680
- 0.50,
681
- ],
682
- ],
683
- fn=run,
684
- inputs=[
685
- aud,
686
- model,
687
- algo,
688
- algo_lvl,
689
- indx,
690
- indx_inf,
691
- res_fc,
692
- envel_r,
693
- const,
694
- ],
695
- outputs=[output_base],
696
- cache_examples=False,
697
- )
698
-
699
  return app
700
 
701
 
 
600
  aud = audio_conf()
601
  # gr.HTML("<hr>")
602
 
603
+ gr.Examples(
604
+ examples=[
605
+ [
606
+ ["./mnr.mp3"],
607
+ "./emu_v2.pth",
608
+ "rmvpe+",
609
+ 0,
610
+ "./emu_v2.index",
611
+ 0.75,
612
+ 3,
613
+ 0.25,
614
+ 0.50,
615
+ ],
616
+ ],
617
+ fn=run,
618
+ inputs=[
619
+ aud,
620
+ model,
621
+ algo,
622
+ algo_lvl,
623
+ indx,
624
+ indx_inf,
625
+ res_fc,
626
+ envel_r,
627
+ const,
628
+ ],
629
+ outputs=[output_base],
630
+ cache_examples=False,
631
+ )
632
+
633
  tts_button.click(
634
  fn=infer_tts_audio,
635
  inputs=[tts_voice, tts_text, tts_active_play],
 
696
  outputs=[output_base],
697
  )
698
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
  return app
700
 
701