Spaces:
Runtime error
Runtime error
Commit
·
4d971ad
1
Parent(s):
56b9d53
Update app.py
Browse files
app.py
CHANGED
|
@@ -360,12 +360,12 @@ with gr.Blocks(theme=theme, css=css) as App:
|
|
| 360 |
information()
|
| 361 |
|
| 362 |
# Tab YouTube Downloader
|
| 363 |
-
with gr.Tab("
|
| 364 |
with gr.Row():
|
| 365 |
with gr.Column():
|
| 366 |
-
ydl_url_input = gr.Textbox(label="
|
| 367 |
-
start = gr.Number(value=0, label="
|
| 368 |
-
end = gr.Number(value=15, label="
|
| 369 |
ydl_url_submit = gr.Button("提取声音文件吧", variant="primary")
|
| 370 |
with gr.Column():
|
| 371 |
ydl_audio_output = gr.Audio(label="Audio from YouTube")
|
|
@@ -383,7 +383,7 @@ with gr.Blocks(theme=theme, css=css) as App:
|
|
| 383 |
as_audio_submit.click(fn=audio_separated, inputs=[as_audio_input], outputs=[as_audio_vocals, as_audio_no_vocals, as_audio_message], show_progress=True, queue=True)
|
| 384 |
|
| 385 |
# Tab Voice Changer
|
| 386 |
-
with gr.Tab("
|
| 387 |
with gr.Row():
|
| 388 |
with gr.Column():
|
| 389 |
vc_audio_input = as_audio_vocals
|
|
|
|
| 360 |
information()
|
| 361 |
|
| 362 |
# Tab YouTube Downloader
|
| 363 |
+
with gr.Tab("🤗 - b站视频提取声音"):
|
| 364 |
with gr.Row():
|
| 365 |
with gr.Column():
|
| 366 |
+
ydl_url_input = gr.Textbox(label="b站视频的网址(https://...)")
|
| 367 |
+
start = gr.Number(value=0, label="起始时间 (秒)")
|
| 368 |
+
end = gr.Number(value=15, label="结束时间 (秒)")
|
| 369 |
ydl_url_submit = gr.Button("提取声音文件吧", variant="primary")
|
| 370 |
with gr.Column():
|
| 371 |
ydl_audio_output = gr.Audio(label="Audio from YouTube")
|
|
|
|
| 383 |
as_audio_submit.click(fn=audio_separated, inputs=[as_audio_input], outputs=[as_audio_vocals, as_audio_no_vocals, as_audio_message], show_progress=True, queue=True)
|
| 384 |
|
| 385 |
# Tab Voice Changer
|
| 386 |
+
with gr.Tab("🎶 - 歌声转换"):
|
| 387 |
with gr.Row():
|
| 388 |
with gr.Column():
|
| 389 |
vc_audio_input = as_audio_vocals
|