Spaces:
Runtime error
Runtime error
Commit
·
06e9a88
1
Parent(s):
1e10a17
Update app_multi.py
Browse files- app_multi.py +4 -4
app_multi.py
CHANGED
@@ -637,16 +637,16 @@ with app:
|
|
637 |
gr.Markdown("### <center>🦄 - 能够自动提取视频中的声音,并去除背景音;Powered by [RVC-Project](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)</center>")
|
638 |
gr.Markdown("### <center>更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
|
639 |
|
640 |
-
with gr.Tab("🤗 -
|
641 |
with gr.Row():
|
642 |
with gr.Column():
|
643 |
-
ydl_url_input = gr.Textbox(label="
|
644 |
start = gr.Number(value=0, label="起始时间 (秒)")
|
645 |
end = gr.Number(value=15, label="结束时间 (秒)")
|
646 |
ydl_url_submit = gr.Button("提取声音文件吧", variant="primary")
|
647 |
as_audio_submit = gr.Button("去除背景音吧", variant="primary")
|
648 |
with gr.Column():
|
649 |
-
ydl_audio_output = gr.Audio(label="
|
650 |
as_audio_input = ydl_audio_output
|
651 |
as_audio_vocals = gr.Audio(label="歌曲人声部分")
|
652 |
as_audio_no_vocals = gr.Audio(label="歌曲伴奏部分", type="filepath")
|
@@ -769,7 +769,7 @@ with app:
|
|
769 |
btn = gr.Button("生成您的专属音乐视频吧", variant="primary")
|
770 |
|
771 |
with gr.Column():
|
772 |
-
out1 = gr.Video(label='您的专属音乐视频').style(width=
|
773 |
|
774 |
btn.click(fn=infer, inputs=[inp1, inp2, inp3], outputs=[out1])
|
775 |
|
|
|
637 |
gr.Markdown("### <center>🦄 - 能够自动提取视频中的声音,并去除背景音;Powered by [RVC-Project](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)</center>")
|
638 |
gr.Markdown("### <center>更多精彩应用,敬请关注[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
|
639 |
|
640 |
+
with gr.Tab("🤗 - 轻松提取音乐"):
|
641 |
with gr.Row():
|
642 |
with gr.Column():
|
643 |
+
ydl_url_input = gr.Textbox(label="音乐视频网址(可直接填写相应的BV号)", value = "https://www.bilibili.com/video/BV...")
|
644 |
start = gr.Number(value=0, label="起始时间 (秒)")
|
645 |
end = gr.Number(value=15, label="结束时间 (秒)")
|
646 |
ydl_url_submit = gr.Button("提取声音文件吧", variant="primary")
|
647 |
as_audio_submit = gr.Button("去除背景音吧", variant="primary")
|
648 |
with gr.Column():
|
649 |
+
ydl_audio_output = gr.Audio(label="歌曲原声")
|
650 |
as_audio_input = ydl_audio_output
|
651 |
as_audio_vocals = gr.Audio(label="歌曲人声部分")
|
652 |
as_audio_no_vocals = gr.Audio(label="歌曲伴奏部分", type="filepath")
|
|
|
769 |
btn = gr.Button("生成您的专属音乐视频吧", variant="primary")
|
770 |
|
771 |
with gr.Column():
|
772 |
+
out1 = gr.Video(label='您的专属音乐视频').style(width=512)
|
773 |
|
774 |
btn.click(fn=infer, inputs=[inp1, inp2, inp3], outputs=[out1])
|
775 |
|