Spaces:
Running on Zero
Running on Zero
- app.py +27 -37
- app_local.py +26 -36
app.py
CHANGED
|
@@ -427,47 +427,33 @@ HEADER_HTML = """
|
|
| 427 |
</h1>
|
| 428 |
|
| 429 |
<div class="badges" style="margin: 10px 0;">
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
<a href="https://huggingface.co/ASLP-lab/YingMusic-Singer" target="_blank">
|
| 442 |
-
<img src="https://img.shields.io/badge/🤗%20HuggingFace-Model-FF9D00" alt="HuggingFace Model">
|
| 443 |
-
</a>
|
| 444 |
-
<a href="https://huggingface.co/datasets/ASLP-lab/LyricEditBench" target="_blank">
|
| 445 |
-
<img src="https://img.shields.io/badge/🤗%20HuggingFace-LyricEditBench-FF6F00" alt="LyricEditBench">
|
| 446 |
-
</a>
|
| 447 |
-
<a href="https://discord.gg/RXghgWyvrn" target="_blank">
|
| 448 |
-
<img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord">
|
| 449 |
-
</a>
|
| 450 |
-
<a href="https://github.com/ASLP-lab/YingMusic-Singer/blob/main/assets/wechat_qr.png" target="_blank">
|
| 451 |
-
<img src="https://img.shields.io/badge/WeChat-Group-07C160?logo=wechat&logoColor=white" alt="WeChat">
|
| 452 |
-
</a>
|
| 453 |
-
<a href="http://www.npu-aslp.org/" target="_blank">
|
| 454 |
-
<img src="https://img.shields.io/badge/🏫%20ASLP-Lab-4A90D9" alt="ASLP Lab">
|
| 455 |
-
</a>
|
| 456 |
</div>
|
| 457 |
|
| 458 |
<p class="authors">
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
|
| 468 |
</p>
|
| 469 |
<p class="affiliations">
|
| 470 |
-
|
|
|
|
| 471 |
</p>
|
| 472 |
</div>
|
| 473 |
"""
|
|
@@ -478,6 +464,10 @@ DISCLAIMER_HTML = """
|
|
| 478 |
YingMusic-Singer 可用于修改歌词后的歌声合成,支持艺术创作与娱乐应用场景。潜在风险包括未经授权的声音克隆与版权侵权问题。为确保负责任地使用,用户应在使用他人声音前取得授权、公开 AI 的参与情况,并确认音乐内容的原创性。<br>
|
| 479 |
<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>
|
| 480 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 481 |
"""
|
| 482 |
|
| 483 |
|
|
@@ -662,4 +652,4 @@ def build_ui():
|
|
| 662 |
if __name__ == "__main__":
|
| 663 |
demo = build_ui()
|
| 664 |
demo.queue()
|
| 665 |
-
demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
|
|
|
|
| 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 |
|
| 443 |
<p class="authors">
|
| 444 |
+
<a href="https://orcid.org/0009-0005-5957-8936">Chunbo Hao</a><sup>1,2</sup> ·
|
| 445 |
+
<a href="https://orcid.org/0009-0003-2602-2910">Junjie Zheng</a><sup>2</sup> ·
|
| 446 |
+
<a href="https://orcid.org/0009-0001-6706-0572">Guobin Ma</a><sup>1</sup> ·
|
| 447 |
+
Yuepeng Jiang<sup>1</sup> ·
|
| 448 |
+
Huakang Chen<sup>1</sup> ·
|
| 449 |
+
Wenjie Tian<sup>1</sup> ·
|
| 450 |
+
<a href="https://orcid.org/0009-0003-9258-4006">Gongyu Chen</a><sup>2</sup> ·
|
| 451 |
+
<a href="https://orcid.org/0009-0005-5413-6725">Zihao Chen</a><sup>2</sup> ·
|
| 452 |
+
Lei Xie<sup>1</sup>
|
| 453 |
</p>
|
| 454 |
<p class="affiliations">
|
| 455 |
+
<sup>1</sup> Audio, Speech and Language Processing Group (ASLP@NPU), School of Computer Science, Northwestern Polytechnical University, China<br>
|
| 456 |
+
<sup>2</sup> AI Lab, GiantNetwork, China
|
| 457 |
</p>
|
| 458 |
</div>
|
| 459 |
"""
|
|
|
|
| 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 |
|
| 473 |
|
|
|
|
| 652 |
if __name__ == "__main__":
|
| 653 |
demo = build_ui()
|
| 654 |
demo.queue()
|
| 655 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
|
app_local.py
CHANGED
|
@@ -422,47 +422,33 @@ HEADER_HTML = """
|
|
| 422 |
</h1>
|
| 423 |
|
| 424 |
<div class="badges" style="margin: 10px 0;">
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
<a href="https://huggingface.co/ASLP-lab/YingMusic-Singer" target="_blank">
|
| 437 |
-
<img src="https://img.shields.io/badge/🤗%20HuggingFace-Model-FF9D00" alt="HuggingFace Model">
|
| 438 |
-
</a>
|
| 439 |
-
<a href="https://huggingface.co/datasets/ASLP-lab/LyricEditBench" target="_blank">
|
| 440 |
-
<img src="https://img.shields.io/badge/🤗%20HuggingFace-LyricEditBench-FF6F00" alt="LyricEditBench">
|
| 441 |
-
</a>
|
| 442 |
-
<a href="https://discord.gg/RXghgWyvrn" target="_blank">
|
| 443 |
-
<img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord">
|
| 444 |
-
</a>
|
| 445 |
-
<a href="https://github.com/ASLP-lab/YingMusic-Singer/blob/main/assets/wechat_qr.png" target="_blank">
|
| 446 |
-
<img src="https://img.shields.io/badge/WeChat-Group-07C160?logo=wechat&logoColor=white" alt="WeChat">
|
| 447 |
-
</a>
|
| 448 |
-
<a href="http://www.npu-aslp.org/" target="_blank">
|
| 449 |
-
<img src="https://img.shields.io/badge/🏫%20ASLP-Lab-4A90D9" alt="ASLP Lab">
|
| 450 |
-
</a>
|
| 451 |
</div>
|
| 452 |
|
| 453 |
<p class="authors">
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
|
| 462 |
-
|
| 463 |
</p>
|
| 464 |
<p class="affiliations">
|
| 465 |
-
|
|
|
|
| 466 |
</p>
|
| 467 |
</div>
|
| 468 |
"""
|
|
@@ -473,6 +459,10 @@ DISCLAIMER_HTML = """
|
|
| 473 |
YingMusic-Singer 可用于修改歌词后的歌声合成,支持艺术创作与娱乐应用场景。潜在风险包括未经授权的声音克隆与版权侵权问题。为确保负责任地使用,用户应在使用他人声音前取得授权、公开 AI 的参与情况,并确认音乐内容的原创性。<br>
|
| 474 |
<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>
|
| 475 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 476 |
"""
|
| 477 |
|
| 478 |
|
|
|
|
| 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 |
|
| 438 |
<p class="authors">
|
| 439 |
+
<a href="https://orcid.org/0009-0005-5957-8936">Chunbo Hao</a><sup>1,2</sup> ·
|
| 440 |
+
<a href="https://orcid.org/0009-0003-2602-2910">Junjie Zheng</a><sup>2</sup> ·
|
| 441 |
+
<a href="https://orcid.org/0009-0001-6706-0572">Guobin Ma</a><sup>1</sup> ·
|
| 442 |
+
Yuepeng Jiang<sup>1</sup> ·
|
| 443 |
+
Huakang Chen<sup>1</sup> ·
|
| 444 |
+
Wenjie Tian<sup>1</sup> ·
|
| 445 |
+
<a href="https://orcid.org/0009-0003-9258-4006">Gongyu Chen</a><sup>2</sup> ·
|
| 446 |
+
<a href="https://orcid.org/0009-0005-5413-6725">Zihao Chen</a><sup>2</sup> ·
|
| 447 |
+
Lei Xie<sup>1</sup>
|
| 448 |
</p>
|
| 449 |
<p class="affiliations">
|
| 450 |
+
<sup>1</sup> Audio, Speech and Language Processing Group (ASLP@NPU), School of Computer Science, Northwestern Polytechnical University, China<br>
|
| 451 |
+
<sup>2</sup> AI Lab, GiantNetwork, China
|
| 452 |
</p>
|
| 453 |
</div>
|
| 454 |
"""
|
|
|
|
| 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 |
|
| 468 |
|