Update app.py
Browse files
app.py
CHANGED
@@ -369,17 +369,18 @@ with gr.Blocks(theme='sudeepshouche/minimalist', title="Global Dataset Maker") a
|
|
369 |
|
370 |
with gr.Tab("Audio only download"):
|
371 |
gr.Markdown("If you want to download only the audio (to isolate bgm using UVR, etc), use this method, which will only extract audio and not split the audio.")
|
|
|
372 |
with gr.Row():
|
373 |
with gr.Column():
|
374 |
with gr.Row():
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
commence_download.click(
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
)
|
383 |
with gr.Tab("MP4 to mp3/wav converter"):
|
384 |
gr.Markdown("If you have an mp4 file, you can convert it to mp3 or wav here. Only click the 'Remove file' button when done.")
|
385 |
with gr.Row():
|
@@ -468,71 +469,72 @@ with gr.Blocks(theme='sudeepshouche/minimalist', title="Global Dataset Maker") a
|
|
468 |
[gr.Text(label="Output")]
|
469 |
)
|
470 |
with gr.Tab("Send Request via yt link"):
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
|
|
536 |
with gr.Tab("Get status of request"):
|
537 |
with gr.Row():
|
538 |
with gr.Column():
|
|
|
369 |
|
370 |
with gr.Tab("Audio only download"):
|
371 |
gr.Markdown("If you want to download only the audio (to isolate bgm using UVR, etc), use this method, which will only extract audio and not split the audio.")
|
372 |
+
gr.Markdown("## Currently broken. Use Stacher in the meantime.")
|
373 |
with gr.Row():
|
374 |
with gr.Column():
|
375 |
with gr.Row():
|
376 |
+
# yt_video = gr.Textbox(label="URL")
|
377 |
+
# audio_output_format = gr.Radio(["wav", "mp3"], value="wav", label="Download audio as:")
|
378 |
+
# commence_download = gr.Button("Download", variant='primary')
|
379 |
+
#commence_download.click(
|
380 |
+
# download_video_as_audio_only,
|
381 |
+
# [yt_video, audio_output_format],
|
382 |
+
# [gr.Text(label="Output"), gr.File(label="Zipped audio file")]
|
383 |
+
#)
|
384 |
with gr.Tab("MP4 to mp3/wav converter"):
|
385 |
gr.Markdown("If you have an mp4 file, you can convert it to mp3 or wav here. Only click the 'Remove file' button when done.")
|
386 |
with gr.Row():
|
|
|
469 |
[gr.Text(label="Output")]
|
470 |
)
|
471 |
with gr.Tab("Send Request via yt link"):
|
472 |
+
gr.Markdown("## Currently broken. Use MVSEP's actual website in the meantime.")
|
473 |
+
#with gr.Row():
|
474 |
+
# with gr.Column():
|
475 |
+
# with gr.Row():
|
476 |
+
# mvsep_key2 = gr.Textbox(placeholder="Enter your MVSEP API key.", label="API key")
|
477 |
+
# yt_link = gr.Textbox(label="YouTube link")
|
478 |
+
# sep_dropdown2 = gr.Dropdown(
|
479 |
+
# ["0 - spleeter (vocals, music)",
|
480 |
+
# "1 - spleeter (vocals, drums, bass, other)",
|
481 |
+
# "2 - spleeter (vocals, drums, bass, piano, other)",
|
482 |
+
# "3 - unmix XL (vocals, drums, bass, other)",
|
483 |
+
# "4 - unmix HQ (vocals, drums, bass, other)",
|
484 |
+
# "5 - unmix SD (vocals, drums, bass, other)",
|
485 |
+
# "6 - unmix SE (vocals, music)",
|
486 |
+
# "7 - MDX A (vocals, drums, bass, other)",
|
487 |
+
# "8 - MDX B (vocals, drums, bass, other)",
|
488 |
+
# "9 - UVR HQ (vocals, music)",
|
489 |
+
# "10 - Demucs3 Model A (vocals, drums, bass, other)",
|
490 |
+
# "11 - Demucs3 Model B (vocals, drums, bass, other)",
|
491 |
+
# "12 - MDX-B Karaoke (lead/back vocals)",
|
492 |
+
# "13 - Demucs2 (vocals, drums, bass, other)",
|
493 |
+
# "14 - Zero Shot (Query Based) (LQ)",
|
494 |
+
# "15 - Danna sep (vocals, drums, bass, other)",
|
495 |
+
# "16 - Byte Dance (vocals, drums, bass, other)",
|
496 |
+
# "17 - UVRv5 Demucs (vocals, music)",
|
497 |
+
# "18 - MVSep DNR (music, sfx, speech)",
|
498 |
+
# "19 - MVSep Vocal Model (vocals, music)",
|
499 |
+
# "20 - Demucs4 HT (vocals, drums, bass, other)",
|
500 |
+
# "--------------------------------------------------------------------------------------------------",
|
501 |
+
# "22 - FoxJoy Reverb Removal (other)",
|
502 |
+
# "23 - MDX B (vocals, instrumental)",
|
503 |
+
# "24 - MVSep Demucs4HT DNR (dialog, sfx, music)",
|
504 |
+
# "25 - MDX23C (vocals, instrumental)",
|
505 |
+
# "26 - Ensemble (vocals, instrumental) [PREMIUM ONLY]",
|
506 |
+
# "27 - Demucs4 Vocals 2023 (vocals, instrumental)",
|
507 |
+
# "28 - Ensemble (vocals, instrumental, bass, drums, other) [PREMIUM ONLY]",
|
508 |
+
# "29 - MVSep Piano (piano, other)",
|
509 |
+
# "30 - Ensemble All-In (vocals, bass, drums, piano, guitar, lead/back vocals, other) [PREMIUM ONLY]",
|
510 |
+
# "31 - MVSep Guitar (guitar, other)",
|
511 |
+
# "-------------------------------------------------------------------------------------------------",
|
512 |
+
# "33 - Vit Large 23 (vocals, instrum)",
|
513 |
+
# "34 - MVSep Crowd removal (crowd, other)",
|
514 |
+
# "35 - MVSep MelBand Roformer (vocals, instrum)",
|
515 |
+
# "36 - BandIt Plus (speech, music, effects)",
|
516 |
+
# "37 - DrumSep (kick, snare, cymbals, toms)",
|
517 |
+
# "38 - LarsNet (kick, snare, cymbals, toms, hihat)",
|
518 |
+
# "39 - Whisper (extract text from audio)",
|
519 |
+
# "40 - BS Roformer (vocals, instrumental)",
|
520 |
+
# "41 - MVSep Bass (bass, other)",
|
521 |
+
# "42 - MVSep MultiSpeaker (MDX23C)",
|
522 |
+
# "43 - MVSEP Multichannel BS (vocals, inst)",
|
523 |
+
# "44 - MVSep Drums (drums, other)",
|
524 |
+
# "45 - Bandit v2 (speech, music, effects)"
|
525 |
+
# ],
|
526 |
+
# max_choices=1,
|
527 |
+
# value="11 - Demucs3 Model B (vocals, drums, bass, other)",
|
528 |
+
# label="Model type:",
|
529 |
+
# interactive=True,
|
530 |
+
# type='index'
|
531 |
+
# )
|
532 |
+
# send_req2 = gr.Button("Send request", variant='primary')
|
533 |
+
# send_req2.click(
|
534 |
+
# mvsep_yt_link_request,
|
535 |
+
# [mvsep_key2, sep_dropdown2, yt_link],
|
536 |
+
# [gr.Text(label="Output")]
|
537 |
+
# )
|
538 |
with gr.Tab("Get status of request"):
|
539 |
with gr.Row():
|
540 |
with gr.Column():
|