kevinwang676 commited on
Commit
3734e3a
1 Parent(s): 7e8e819

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -42
app.py CHANGED
@@ -485,7 +485,6 @@ def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_vo
485
 
486
  app = gr.Blocks(theme="JohnSmith9982/small_and_pretty")
487
  with app:
488
- with gr.Tab("中文版"):
489
  gr.Markdown("# <center>🌊💕🎶 滔滔AI,您的专属AI全明星乐团</center>")
490
  gr.Markdown("## <center>🌟 只需一个歌曲名,全网AI歌手任您选择!随时随地,听我想听!</center>")
491
  gr.Markdown("### <center>🤗 更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);相关问题欢迎在我们的[B站](https://space.bilibili.com/501495851)账号交流!滔滔AI,为爱滔滔!💕</center>")
@@ -530,47 +529,6 @@ with app:
530
  </p>
531
  </div>
532
  ''')
533
- with gr.Tab("EN"):
534
- gr.Markdown("# <center>🌊💕🎶 TalkTalkAI - Best AI song cover generator ever</center>")
535
- gr.Markdown("## <center>🌟 Provide the name of a song and our application running on A100 will handle everything else!</center>")
536
- gr.Markdown("### <center>🤗 [TalkTalkAI](http://www.talktalkai.com/), let everyone enjoy a better life through human-centered AI💕</center>")
537
- with gr.Accordion("💡 Some AI singers you can try", open=False):
538
- _ = f""" Any Zip file that you can download online will be fine (The Zip file should contain .pth and .index files):
539
- * AI Taylor Swift: https://download.openxlab.org.cn/models/Kevin676/rvc-models/weight/taylor.zip
540
- * AI Blackpink Lisa: https://download.openxlab.org.cn/models/Kevin676/rvc-models/weight/Lisa.zip
541
- * AI Paimon: https://download.openxlab.org.cn/models/Kevin676/rvc-models/weight/paimon.zip
542
- * AI Stefanie Sun: https://download.openxlab.org.cn/models/Kevin676/rvc-models/weight/syz.zip
543
- * AI[一清清清](https://www.bilibili.com/video/BV1wV411u74P): https://download.openxlab.org.cn/models/Kevin676/rvc-models/weight/yiqing.zip\n
544
- """
545
- gr.Markdown(dedent(_))
546
-
547
- with gr.Row():
548
- with gr.Column():
549
- inp1_en = gr.Textbox(label="The Zip file of an AI singer", info="The Zip file should contain .pth and .index files", lines=2, value="https://download.openxlab.org.cn/models/Kevin676/rvc-models/weight/taylor.zip", placeholder="https://download.openxlab.org.cn/models/Kevin676/rvc-models/weight/taylor.zip")
550
- with gr.Column():
551
- inp2_en = gr.Textbox(label="The name of your AI singer", lines=1, value="AI Taylor", placeholder="AI Taylor")
552
- inp3_en = gr.Textbox(label="The name of a song", lines=1, value="Hotel California Eagles", placeholder="Hotel California Eagles")
553
- with gr.Row():
554
- inp4_en = gr.Dropdown(label="UVR models", choices=["UVR-HP2", "UVR-HP5"], value="UVR-HP5", visible=False)
555
- inp5_en = gr.Slider(label="Transpose", info="0 from man to man (or woman to woman); 12 from man to woman and -12 from woman to man.", minimum=-12, maximum=12, value=0, step=1)
556
- inp6_en = gr.Slider(label="Vocal volume", info="Adjust vocal volume (Default: 1)", minimum=0, maximum=3, value=1, step=0.2)
557
- inp7_en = gr.Slider(label="Instrument volume", info="Adjust instrument volume (Default: 1)", minimum=0, maximum=3, value=1, step=0.2)
558
- btn_en = gr.Button("Convert💕", variant="primary")
559
- with gr.Row():
560
- output_song_en = gr.Audio(label="AI song cover")
561
- singer_list_en = gr.Textbox(label="The AI singers you have")
562
-
563
- btn_en.click(fn=rvc_infer_music, inputs=[inp1_en, inp2_en, inp3_en, inp4_en, inp5_en, inp6_en, inp7_en], outputs=[output_song_en, singer_list_en])
564
-
565
-
566
- gr.HTML('''
567
- <div class="footer">
568
- <p>🤗 - Stay tuned! The best is yet to come.
569
- </p>
570
- <p>📧 - Contact us: talktalkai.kevin@gmail.com
571
- </p>
572
- </div>
573
- ''')
574
 
575
  app.queue(max_size=40, api_open=False)
576
  app.launch(max_threads=400, show_error=True)
 
485
 
486
  app = gr.Blocks(theme="JohnSmith9982/small_and_pretty")
487
  with app:
 
488
  gr.Markdown("# <center>🌊💕🎶 滔滔AI,您的专属AI全明星乐团</center>")
489
  gr.Markdown("## <center>🌟 只需一个歌曲名,全网AI歌手任您选择!随时随地,听我想听!</center>")
490
  gr.Markdown("### <center>🤗 更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);相关问题欢迎在我们的[B站](https://space.bilibili.com/501495851)账号交流!滔滔AI,为爱滔滔!💕</center>")
 
529
  </p>
530
  </div>
531
  ''')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
532
 
533
  app.queue(max_size=40, api_open=False)
534
  app.launch(max_threads=400, show_error=True)