Spaces:
Paused
Paused
koby commited on
Commit ·
09e6d49
1
Parent(s): bad532a
defaults: old school reggaeton style + spanish lyrics, lang es
Browse files
app.py
CHANGED
|
@@ -449,7 +449,7 @@ with gr.Blocks(title="YuE2-3B Music Generator") as demo:
|
|
| 449 |
)
|
| 450 |
style = gr.Textbox(
|
| 451 |
label="🎨 Style Prompt",
|
| 452 |
-
value="
|
| 453 |
lines=3
|
| 454 |
)
|
| 455 |
tags_input = gr.Textbox(
|
|
@@ -460,8 +460,75 @@ with gr.Blocks(title="YuE2-3B Music Generator") as demo:
|
|
| 460 |
)
|
| 461 |
lyrics = gr.Textbox(
|
| 462 |
label="📜 Lyrics ([verse] / [chorus] structure)",
|
| 463 |
-
value="[
|
| 464 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 465 |
)
|
| 466 |
with gr.Row():
|
| 467 |
cot = gr.Radio(["full", "melody", "off"], value="full", label="CoT Mode")
|
|
@@ -469,7 +536,7 @@ with gr.Blocks(title="YuE2-3B Music Generator") as demo:
|
|
| 469 |
cfg = gr.Number(label="CFG Scale", value=1.0, precision=2)
|
| 470 |
with gr.Row():
|
| 471 |
bpm_input = gr.Number(label="BPM", value=120, precision=0)
|
| 472 |
-
lang_input = gr.Textbox(label="Language", value="
|
| 473 |
|
| 474 |
btn = gr.Button("🚀 Generate Song", elem_classes=["generate-btn"])
|
| 475 |
audio = gr.Audio(label="🎧 Generated Song Player", type="filepath")
|
|
|
|
| 449 |
)
|
| 450 |
style = gr.Textbox(
|
| 451 |
label="🎨 Style Prompt",
|
| 452 |
+
value="Old School Reggaeton, Perreo, Heavy Bass, 2000s Style, Deep Male Vocal, piano orchestral, malianteo, Daddy Yankee",
|
| 453 |
lines=3
|
| 454 |
)
|
| 455 |
tags_input = gr.Textbox(
|
|
|
|
| 460 |
)
|
| 461 |
lyrics = gr.Textbox(
|
| 462 |
label="📜 Lyrics ([verse] / [chorus] structure)",
|
| 463 |
+
value="""[Verse 1]
|
| 464 |
+
Me dijiste baby ven que te espero
|
| 465 |
+
Y yo llegué corriendo sin dudar
|
| 466 |
+
Tú me tenías en tu juego entero
|
| 467 |
+
Y no quería nunca despertar
|
| 468 |
+
|
| 469 |
+
Tus ojos me hablaban de otro lado
|
| 470 |
+
Tu boca me prometía el mar
|
| 471 |
+
Pero el tiempo siempre dice claro
|
| 472 |
+
Lo que el corazón no quiere ver jamás
|
| 473 |
+
|
| 474 |
+
[Pre-Chorus]
|
| 475 |
+
Y ahora dime quién te va a tratar así
|
| 476 |
+
Quién va a escribir tu nombre sobre mí
|
| 477 |
+
|
| 478 |
+
[Chorus]
|
| 479 |
+
Déjame quererte aunque tú no quieras
|
| 480 |
+
Déjame abrazarte aunque sea en la espera
|
| 481 |
+
Sé que tú me miras pero no lo dices
|
| 482 |
+
Aquí en mi pecho tú eres mi cicatriz
|
| 483 |
+
|
| 484 |
+
Tu recuerdo vive y no se muere
|
| 485 |
+
Tu cariño quema aunque tú no quiere'
|
| 486 |
+
Déjame quererte aunque sea mentira
|
| 487 |
+
Porque contigo yo perdí la vida
|
| 488 |
+
|
| 489 |
+
[Verse 2]
|
| 490 |
+
Sé que andas conmigo en otro cuarto
|
| 491 |
+
Que tu corazón me tiene en replay
|
| 492 |
+
Pero yo sigo aquí esperando el rato
|
| 493 |
+
Donde me mires como ayer
|
| 494 |
+
|
| 495 |
+
Las calles hablan de tu nombre
|
| 496 |
+
Los vecinos cuentan que te vi
|
| 497 |
+
Con otro beso y otro hombre
|
| 498 |
+
Pero el mío siempre pega aquí
|
| 499 |
+
|
| 500 |
+
[Pre-Chorus]
|
| 501 |
+
Y ahora dime quién te va a tratar así
|
| 502 |
+
Quién va a escribir tu nombre sobre mí
|
| 503 |
+
|
| 504 |
+
[Chorus]
|
| 505 |
+
Déjame quererte aunque tú no quieras
|
| 506 |
+
Déjame abrazarte aunque sea en la espera
|
| 507 |
+
Sé que tú me miras pero no lo dices
|
| 508 |
+
Aquí en mi pecho tú eres mi cicatriz
|
| 509 |
+
|
| 510 |
+
Tu recuerdo vive y no se muere
|
| 511 |
+
Tu cariño quema aunque tú no quiere'
|
| 512 |
+
Déjame quererte aunque sea mentira
|
| 513 |
+
Porque contigo yo perdí la vida
|
| 514 |
+
|
| 515 |
+
[Bridge]
|
| 516 |
+
No me importa el qué dirán
|
| 517 |
+
Ni los cuentos que se van
|
| 518 |
+
Yo te busco en la ciudad
|
| 519 |
+
Y te encuentro en la verdad
|
| 520 |
+
|
| 521 |
+
[Chorus]
|
| 522 |
+
Déjame quererte aunque tú no quieras
|
| 523 |
+
Déjame abrazarte aunque sea en la espera
|
| 524 |
+
Sé que tú me miras pero no lo dices
|
| 525 |
+
Aquí en mi pecho tú eres mi cicatriz
|
| 526 |
+
|
| 527 |
+
Tu recuerdo vive y no se muere
|
| 528 |
+
Tu cariño quema aunque tú no quiere'
|
| 529 |
+
Déjame quererte aunque sea mentira
|
| 530 |
+
Porque contigo yo perdí la vida""",
|
| 531 |
+
lines=12
|
| 532 |
)
|
| 533 |
with gr.Row():
|
| 534 |
cot = gr.Radio(["full", "melody", "off"], value="full", label="CoT Mode")
|
|
|
|
| 536 |
cfg = gr.Number(label="CFG Scale", value=1.0, precision=2)
|
| 537 |
with gr.Row():
|
| 538 |
bpm_input = gr.Number(label="BPM", value=120, precision=0)
|
| 539 |
+
lang_input = gr.Textbox(label="Language", value="es", lines=1)
|
| 540 |
|
| 541 |
btn = gr.Button("🚀 Generate Song", elem_classes=["generate-btn"])
|
| 542 |
audio = gr.Audio(label="🎧 Generated Song Player", type="filepath")
|