ASLP-lab commited on
Commit
7e8362f
·
verified ·
1 Parent(s): 192789f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -40,7 +40,7 @@ download_files(task="infer")
40
 
41
  print("🔄 Loading YingMusicSinger model...")
42
  from src.YingMusicSinger.infer.YingMusicSinger import YingMusicSinger
43
- _model = YingMusicSinger.from_pretrained("ASLP-lab/YingMusic-Singer")
44
  _model = local_move2gpu(_model)
45
  _model.eval()
46
  print("✅ YingMusicSinger model loaded.")
@@ -423,20 +423,20 @@ b[data-melody] {
423
  HEADER_HTML = """
424
  <div id="app-header" align="center">
425
  <h1>
426
- 🎤 YingMusic-Singer: Controllable Singing Voice Synthesis with Flexible Lyric Manipulation and Annotation-free Melody Guidance
427
  </h1>
428
 
429
  <div class="badges" style="margin: 10px 0;">
430
  <img src="https://img.shields.io/badge/Python-3.10-3776AB?logo=python&logoColor=white" alt="Python">
431
  <img src="https://img.shields.io/badge/License-CC--BY--4.0-lightgrey" alt="License">
432
  <a href="https://arxiv.org/abs/2603.24589"><img src="https://img.shields.io/badge/arXiv-2603.24589-b31b1b?logo=arxiv&logoColor=white" alt="arXiv Paper"></a>
433
- <a href="https://github.com/ASLP-lab/YingMusic-Singer"><img src="https://img.shields.io/badge/GitHub-YingMusic--Singer-181717?logo=github&logoColor=white" alt="GitHub"></a>
434
- <a href="https://aslp-lab.github.io/YingMusic-Singer-Demo/"><img src="https://img.shields.io/badge/GitHub-Demo--Page-8A2BE2?logo=github&logoColor=white&labelColor=181717" alt="Demo Page"></a>
435
- <a href="https://huggingface.co/spaces/ASLP-lab/YingMusic-Singer"><img src="https://img.shields.io/badge/🤗%20HuggingFace-Space-FFD21E" alt="HuggingFace Space"></a>
436
- <a href="https://huggingface.co/ASLP-lab/YingMusic-Singer"><img src="https://img.shields.io/badge/🤗%20HuggingFace-Model-FF9D00" alt="HuggingFace Model"></a>
437
  <a href="https://huggingface.co/datasets/ASLP-lab/LyricEditBench"><img src="https://img.shields.io/badge/🤗%20HuggingFace-LyricEditBench-FF6F00" alt="Dataset LyricEditBench"></a>
438
  <a href="https://discord.gg/RXghgWyvrn"><img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
439
- <a href="https://github.com/ASLP-lab/YingMusic-Singer/blob/main/assets/wechat_qr.png"><img src="https://img.shields.io/badge/WeChat-Group-07C160?logo=wechat&logoColor=white" alt="WeChat"></a>
440
  <a href="http://www.npu-aslp.org/"><img src="https://img.shields.io/badge/🏫%20ASLP-Lab-4A90D9" alt="Lab"></a>
441
  </div>
442
 
@@ -461,12 +461,12 @@ HEADER_HTML = """
461
  DISCLAIMER_HTML = """
462
  <div id="disclaimer" style="text-align:center;">
463
  <strong>免责声明 / Disclaimer</strong><br>
464
- YingMusic-Singer 可用于修改歌词后的歌声合成,支持艺术创作与娱乐应用场景。潜在风险包括未经授权的声音克隆与版权侵权问题。为确保负责任地使用,用户应在使用他人声音前取得授权、公开 AI 的参与情况,并确认音乐内容的原创性。<br>
465
- <span style="opacity:0.75;">YingMusic-Singer enables the creation of singing voices with modified lyrics, supporting artistic creation and entertainment. Potential risks include unauthorized voice cloning and copyright infringement. To ensure responsible deployment, users should obtain consent for voice usage, disclose AI involvement, and verify musical originality.</span>
466
  </div>
467
 
468
  <div style="text-align: center; margin: 3rem 0 2rem;">
469
- <img src="https://raw.githubusercontent.com/ASLP-lab/YingMusic-Singer/main/assets/institutional_logo.svg" alt="Institutional Logo" style="max-width: 600px; width: 80%; display: block; margin: 0 auto;">
470
  </div>
471
  """
472
 
 
40
 
41
  print("🔄 Loading YingMusicSinger model...")
42
  from src.YingMusicSinger.infer.YingMusicSinger import YingMusicSinger
43
+ _model = YingMusicSinger.from_pretrained("ASLP-lab/YingMusic-Singer-Plus")
44
  _model = local_move2gpu(_model)
45
  _model.eval()
46
  print("✅ YingMusicSinger model loaded.")
 
423
  HEADER_HTML = """
424
  <div id="app-header" align="center">
425
  <h1>
426
+ 🎤 YingMusic-Singer-Plus: Controllable Singing Voice Synthesis with Flexible Lyric Manipulation and Annotation-free Melody Guidance
427
  </h1>
428
 
429
  <div class="badges" style="margin: 10px 0;">
430
  <img src="https://img.shields.io/badge/Python-3.10-3776AB?logo=python&logoColor=white" alt="Python">
431
  <img src="https://img.shields.io/badge/License-CC--BY--4.0-lightgrey" alt="License">
432
  <a href="https://arxiv.org/abs/2603.24589"><img src="https://img.shields.io/badge/arXiv-2603.24589-b31b1b?logo=arxiv&logoColor=white" alt="arXiv Paper"></a>
433
+ <a href="https://github.com/ASLP-lab/YingMusic-Singer-Plus"><img src="https://img.shields.io/badge/GitHub-YingMusic--Singer-181717?logo=github&logoColor=white" alt="GitHub"></a>
434
+ <a href="https://aslp-lab.github.io/YingMusic-Singer-Plus-Demo/"><img src="https://img.shields.io/badge/GitHub-Demo--Page-8A2BE2?logo=github&logoColor=white&labelColor=181717" alt="Demo Page"></a>
435
+ <a href="https://huggingface.co/spaces/ASLP-lab/YingMusic-Singer-Plus"><img src="https://img.shields.io/badge/🤗%20HuggingFace-Space-FFD21E" alt="HuggingFace Space"></a>
436
+ <a href="https://huggingface.co/ASLP-lab/YingMusic-Singer-Plus"><img src="https://img.shields.io/badge/🤗%20HuggingFace-Model-FF9D00" alt="HuggingFace Model"></a>
437
  <a href="https://huggingface.co/datasets/ASLP-lab/LyricEditBench"><img src="https://img.shields.io/badge/🤗%20HuggingFace-LyricEditBench-FF6F00" alt="Dataset LyricEditBench"></a>
438
  <a href="https://discord.gg/RXghgWyvrn"><img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
439
+ <a href="https://github.com/ASLP-lab/YingMusic-Singer-Plus/blob/main/assets/wechat_qr.png"><img src="https://img.shields.io/badge/WeChat-Group-07C160?logo=wechat&logoColor=white" alt="WeChat"></a>
440
  <a href="http://www.npu-aslp.org/"><img src="https://img.shields.io/badge/🏫%20ASLP-Lab-4A90D9" alt="Lab"></a>
441
  </div>
442
 
 
461
  DISCLAIMER_HTML = """
462
  <div id="disclaimer" style="text-align:center;">
463
  <strong>免责声明 / Disclaimer</strong><br>
464
+ YingMusic-Singer-Plus 可用于修改歌词后的歌声合成,支持艺术创作与娱乐应用场景。潜在风险包括未经授权的声音克隆与版权侵权问题。为确保负责任地使用,用户应在使用他人声音前取得授权、公开 AI 的参与情况,并确认音乐内容的原创性。<br>
465
+ <span style="opacity:0.75;">YingMusic-Singer-Plus enables the creation of singing voices with modified lyrics, supporting artistic creation and entertainment. Potential risks include unauthorized voice cloning and copyright infringement. To ensure responsible deployment, users should obtain consent for voice usage, disclose AI involvement, and verify musical originality.</span>
466
  </div>
467
 
468
  <div style="text-align: center; margin: 3rem 0 2rem;">
469
+ <img src="https://raw.githubusercontent.com/ASLP-lab/YingMusic-Singer-Plus/main/assets/institutional_logo.svg" alt="Institutional Logo" style="max-width: 600px; width: 80%; display: block; margin: 0 auto;">
470
  </div>
471
  """
472