Spaces:
Running on Zero
Running on Zero
Update app_local.py
Browse files- app_local.py +10 -10
app_local.py
CHANGED
|
@@ -35,7 +35,7 @@ download_files(task="infer")
|
|
| 35 |
|
| 36 |
print("🔄 Loading YingMusicSinger model...")
|
| 37 |
from src.YingMusicSinger.infer.YingMusicSinger import YingMusicSinger
|
| 38 |
-
_model = YingMusicSinger.from_pretrained("ASLP-lab/YingMusic-Singer")
|
| 39 |
_model = local_move2gpu(_model)
|
| 40 |
_model.eval()
|
| 41 |
print("✅ YingMusicSinger model loaded.")
|
|
@@ -418,20 +418,20 @@ b[data-melody] {
|
|
| 418 |
HEADER_HTML = """
|
| 419 |
<div id="app-header" align="center">
|
| 420 |
<h1>
|
| 421 |
-
🎤 YingMusic-Singer: Controllable Singing Voice Synthesis with Flexible Lyric Manipulation and Annotation-free Melody Guidance
|
| 422 |
</h1>
|
| 423 |
|
| 424 |
<div class="badges" style="margin: 10px 0;">
|
| 425 |
<img src="https://img.shields.io/badge/Python-3.10-3776AB?logo=python&logoColor=white" alt="Python">
|
| 426 |
<img src="https://img.shields.io/badge/License-CC--BY--4.0-lightgrey" alt="License">
|
| 427 |
<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>
|
| 428 |
-
<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>
|
| 429 |
-
<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>
|
| 430 |
-
<a href="https://huggingface.co/spaces/ASLP-lab/YingMusic-Singer"><img src="https://img.shields.io/badge/🤗%20HuggingFace-Space-FFD21E" alt="HuggingFace Space"></a>
|
| 431 |
-
<a href="https://huggingface.co/ASLP-lab/YingMusic-Singer"><img src="https://img.shields.io/badge/🤗%20HuggingFace-Model-FF9D00" alt="HuggingFace Model"></a>
|
| 432 |
<a href="https://huggingface.co/datasets/ASLP-lab/LyricEditBench"><img src="https://img.shields.io/badge/🤗%20HuggingFace-LyricEditBench-FF6F00" alt="Dataset LyricEditBench"></a>
|
| 433 |
<a href="https://discord.gg/RXghgWyvrn"><img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
|
| 434 |
-
<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>
|
| 435 |
<a href="http://www.npu-aslp.org/"><img src="https://img.shields.io/badge/🏫%20ASLP-Lab-4A90D9" alt="Lab"></a>
|
| 436 |
</div>
|
| 437 |
|
|
@@ -456,12 +456,12 @@ HEADER_HTML = """
|
|
| 456 |
DISCLAIMER_HTML = """
|
| 457 |
<div id="disclaimer" style="text-align:center;">
|
| 458 |
<strong>免责声明 / Disclaimer</strong><br>
|
| 459 |
-
YingMusic-Singer 可用于修改歌词后的歌声合成,支持艺术创作与娱乐应用场景。潜在风险包括未经授权的声音克隆与版权侵权问题。为确保负责任地使用,用户应在使用他人声音前取得授权、公开 AI 的参与情况,并确认音乐内容的原创性。<br>
|
| 460 |
-
<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>
|
| 461 |
</div>
|
| 462 |
|
| 463 |
<div style="text-align: center; margin: 3rem 0 2rem;">
|
| 464 |
-
<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;">
|
| 465 |
</div>
|
| 466 |
"""
|
| 467 |
|
|
|
|
| 35 |
|
| 36 |
print("🔄 Loading YingMusicSinger model...")
|
| 37 |
from src.YingMusicSinger.infer.YingMusicSinger import YingMusicSinger
|
| 38 |
+
_model = YingMusicSinger.from_pretrained("ASLP-lab/YingMusic-Singer-Plus")
|
| 39 |
_model = local_move2gpu(_model)
|
| 40 |
_model.eval()
|
| 41 |
print("✅ YingMusicSinger model loaded.")
|
|
|
|
| 418 |
HEADER_HTML = """
|
| 419 |
<div id="app-header" align="center">
|
| 420 |
<h1>
|
| 421 |
+
🎤 YingMusic-Singer-Plus: Controllable Singing Voice Synthesis with Flexible Lyric Manipulation and Annotation-free Melody Guidance
|
| 422 |
</h1>
|
| 423 |
|
| 424 |
<div class="badges" style="margin: 10px 0;">
|
| 425 |
<img src="https://img.shields.io/badge/Python-3.10-3776AB?logo=python&logoColor=white" alt="Python">
|
| 426 |
<img src="https://img.shields.io/badge/License-CC--BY--4.0-lightgrey" alt="License">
|
| 427 |
<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>
|
| 428 |
+
<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>
|
| 429 |
+
<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>
|
| 430 |
+
<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>
|
| 431 |
+
<a href="https://huggingface.co/ASLP-lab/YingMusic-Singer-Plus"><img src="https://img.shields.io/badge/🤗%20HuggingFace-Model-FF9D00" alt="HuggingFace Model"></a>
|
| 432 |
<a href="https://huggingface.co/datasets/ASLP-lab/LyricEditBench"><img src="https://img.shields.io/badge/🤗%20HuggingFace-LyricEditBench-FF6F00" alt="Dataset LyricEditBench"></a>
|
| 433 |
<a href="https://discord.gg/RXghgWyvrn"><img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
|
| 434 |
+
<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>
|
| 435 |
<a href="http://www.npu-aslp.org/"><img src="https://img.shields.io/badge/🏫%20ASLP-Lab-4A90D9" alt="Lab"></a>
|
| 436 |
</div>
|
| 437 |
|
|
|
|
| 456 |
DISCLAIMER_HTML = """
|
| 457 |
<div id="disclaimer" style="text-align:center;">
|
| 458 |
<strong>免责声明 / Disclaimer</strong><br>
|
| 459 |
+
YingMusic-Singer-Plus 可用于修改歌词后的歌声合成,支持艺术创作与娱乐应用场景。潜在风险包括未经授权的声音克隆与版权侵权问题。为确保负责任地使用,用户应在使用他人声音前取得授权、公开 AI 的参与情况,并确认音乐内容的原创性。<br>
|
| 460 |
+
<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>
|
| 461 |
</div>
|
| 462 |
|
| 463 |
<div style="text-align: center; margin: 3rem 0 2rem;">
|
| 464 |
+
<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;">
|
| 465 |
</div>
|
| 466 |
"""
|
| 467 |
|