kevinwang676
commited on
Commit
•
5343c44
1
Parent(s):
d018b68
Update app.py
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ with gr.Blocks() as demo:
|
|
215 |
gr.HTML("<center>"
|
216 |
"<h1>🌊💕🎶 - 滔滔AI+音乐:可从B站直接上传素材,无需分离背景音</h1>"
|
217 |
"</center>")
|
218 |
-
with gr.Accordion("📒 关于此应用", open=True):
|
219 |
gr.Markdown("## <center>🏞️ - 滔滔AI,为您提供全场景的AI声音服务(如AI拟声、AI歌手、AI变声等)</center>")
|
220 |
gr.Markdown("### <center>🥳 - 滔滔AI合作音乐人:[一清清清](https://space.bilibili.com/22960772?spm_id_from=333.337.0.0);AI歌手,唱我想唱!</center>")
|
221 |
gr.Markdown("### <center>🎡 - 更多精彩,尽在[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
|
@@ -250,7 +250,7 @@ with gr.Blocks() as demo:
|
|
250 |
btn1.click(fn=predict_song_from_yt, inputs=[inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8, inp9], outputs=[out1, out2, out3])
|
251 |
|
252 |
gr.Examples(examples=[["https://www.bilibili.com/video/BV1ip4y1p7Pn", 87, 103, speakers[0], 0, False, default_cluster_infer_ratio, 0.4, default_f0_method]],
|
253 |
-
inputs=[inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8, inp9], outputs=[out1, out2, out3], fn=predict_song_from_yt)
|
254 |
|
255 |
with gr.Tab("🎙️ - 从麦克风上传"):
|
256 |
with gr.Row():
|
|
|
215 |
gr.HTML("<center>"
|
216 |
"<h1>🌊💕🎶 - 滔滔AI+音乐:可从B站直接上传素材,无需分离背景音</h1>"
|
217 |
"</center>")
|
218 |
+
with gr.Accordion("📒 关于此应用 (可折叠)", open=True):
|
219 |
gr.Markdown("## <center>🏞️ - 滔滔AI,为您提供全场景的AI声音服务(如AI拟声、AI歌手、AI变声等)</center>")
|
220 |
gr.Markdown("### <center>🥳 - 滔滔AI合作音乐人:[一清清清](https://space.bilibili.com/22960772?spm_id_from=333.337.0.0);AI歌手,唱我想唱!</center>")
|
221 |
gr.Markdown("### <center>🎡 - 更多精彩,尽在[滔滔AI](http://www.talktalkai.com);滔滔AI,为爱滔滔!💕</center>")
|
|
|
250 |
btn1.click(fn=predict_song_from_yt, inputs=[inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8, inp9], outputs=[out1, out2, out3])
|
251 |
|
252 |
gr.Examples(examples=[["https://www.bilibili.com/video/BV1ip4y1p7Pn", 87, 103, speakers[0], 0, False, default_cluster_infer_ratio, 0.4, default_f0_method]],
|
253 |
+
inputs=[inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8, inp9], outputs=[out1, out2, out3], fn=predict_song_from_yt, cache_examples=True)
|
254 |
|
255 |
with gr.Tab("🎙️ - 从麦克风上传"):
|
256 |
with gr.Row():
|