Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -196,19 +196,31 @@ with gr.Blocks() as demo:
|
|
196 |
examples = [
|
197 |
[
|
198 |
"female blues airy vocal bright vocal piano sad romantic guitar jazz",
|
199 |
-
"""[
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
Don't let this moment fade, hold me close tonight
|
201 |
With you here beside me, everything's alright
|
202 |
Can't imagine life alone, don't want to let you go
|
203 |
Stay with me forever, let our love just flow
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
"""
|
205 |
]
|
206 |
],
|
207 |
inputs = [genre_txt, lyrics_txt]
|
208 |
)
|
209 |
with gr.Column():
|
210 |
-
num_segments = gr.Number(label="Number of Song Segments", info="number of paragraphs", value=2, interactive=
|
211 |
-
max_new_tokens = gr.Slider(label="Max New Tokens / Duration", info="1000 token = 10 seconds", minimum=500, maximum="24000", step=500, value=1500, interactive=
|
212 |
submit_btn = gr.Button("Submit")
|
213 |
music_out = gr.Audio(label="Audio Result")
|
214 |
|
|
|
196 |
examples = [
|
197 |
[
|
198 |
"female blues airy vocal bright vocal piano sad romantic guitar jazz",
|
199 |
+
"""[verse]
|
200 |
+
In the quiet of the evening, shadows start to fall
|
201 |
+
Whispers of the night wind echo through the hall
|
202 |
+
Lost within the silence, I hear your gentle voice
|
203 |
+
Guiding me back homeward, making my heart rejoice
|
204 |
+
|
205 |
+
[chorus]
|
206 |
Don't let this moment fade, hold me close tonight
|
207 |
With you here beside me, everything's alright
|
208 |
Can't imagine life alone, don't want to let you go
|
209 |
Stay with me forever, let our love just flow
|
210 |
+
|
211 |
+
[verse]
|
212 |
+
Moonlight paints a picture upon your lovely face
|
213 |
+
Every glance between us fills the empty space
|
214 |
+
Time stands still around us when you're in my arms
|
215 |
+
Nothing else can matter, safe from any harm
|
216 |
"""
|
217 |
]
|
218 |
],
|
219 |
inputs = [genre_txt, lyrics_txt]
|
220 |
)
|
221 |
with gr.Column():
|
222 |
+
num_segments = gr.Number(label="Number of Song Segments", info="number of paragraphs", value=2, interactive=True)
|
223 |
+
max_new_tokens = gr.Slider(label="Max New Tokens / Duration", info="1000 token = 10 seconds", minimum=500, maximum="24000", step=500, value=1500, interactive=True)
|
224 |
submit_btn = gr.Button("Submit")
|
225 |
music_out = gr.Audio(label="Audio Result")
|
226 |
|