Spaces:
Running
Running
Commit
·
9f128a7
1
Parent(s):
bc68360
Update app.py
Browse files
app.py
CHANGED
@@ -184,9 +184,9 @@ with app:
|
|
184 |
as_audio_submit = gr.Button("去除背景音吧", variant="primary")
|
185 |
|
186 |
with gr.Column():
|
187 |
-
ydl_audio_output = gr.Audio(label="歌曲原声")
|
188 |
as_audio_input = ydl_audio_output
|
189 |
-
as_audio_vocals = gr.Audio(label="歌曲人声部分", type="filepath")
|
190 |
as_audio_no_vocals = gr.Audio(label="歌曲伴奏部分", type="filepath", visible=False)
|
191 |
as_audio_message = gr.Textbox(label="Message", visible=False)
|
192 |
|
@@ -202,7 +202,7 @@ with app:
|
|
202 |
btn2 = gr.Button("加入歌曲伴奏吧!", variant="primary")
|
203 |
|
204 |
with gr.Column():
|
205 |
-
out_svc = gr.Audio(label="为您生成的专属原声", type="filepath", interactive=
|
206 |
new_song = gr.Audio(label="AI歌手+伴奏", type="filepath")
|
207 |
|
208 |
btn1.click(svc, [inp_src, inp_ref, check_singing], out_svc)
|
|
|
184 |
as_audio_submit = gr.Button("去除背景音吧", variant="primary")
|
185 |
|
186 |
with gr.Column():
|
187 |
+
ydl_audio_output = gr.Audio(label="歌曲原声", interactive=False)
|
188 |
as_audio_input = ydl_audio_output
|
189 |
+
as_audio_vocals = gr.Audio(label="歌曲人声部分", type="filepath", interactive=False)
|
190 |
as_audio_no_vocals = gr.Audio(label="歌曲伴奏部分", type="filepath", visible=False)
|
191 |
as_audio_message = gr.Textbox(label="Message", visible=False)
|
192 |
|
|
|
202 |
btn2 = gr.Button("加入歌曲伴奏吧!", variant="primary")
|
203 |
|
204 |
with gr.Column():
|
205 |
+
out_svc = gr.Audio(label="为您生成的专属原声", type="filepath", interactive=False)
|
206 |
new_song = gr.Audio(label="AI歌手+伴奏", type="filepath")
|
207 |
|
208 |
btn1.click(svc, [inp_src, inp_ref, check_singing], out_svc)
|