Spaces:
Running on Zero
Running on Zero
koby commited on
Commit ·
0dd4984
1
Parent(s): 23047ed
even flex spacing on like-line
Browse files
app.py
CHANGED
|
@@ -212,7 +212,7 @@ with gr.Blocks(title="YuE2-3B Music") as demo:
|
|
| 212 |
duration = gr.Slider(30, 360, value=60, step=10, label="Duration (seconds, exact)", scale=4)
|
| 213 |
duration_txt = gr.Textbox(value="1:00 min", label="≈ time", scale=1, interactive=False)
|
| 214 |
btn = gr.Button("Generate song", variant="primary")
|
| 215 |
-
gr.HTML("<div style='
|
| 216 |
with gr.Column():
|
| 217 |
audio = gr.Audio(label="Play song", type="filepath")
|
| 218 |
flac_file = gr.File(label="Download FLAC")
|
|
|
|
| 212 |
duration = gr.Slider(30, 360, value=60, step=10, label="Duration (seconds, exact)", scale=4)
|
| 213 |
duration_txt = gr.Textbox(value="1:00 min", label="≈ time", scale=1, interactive=False)
|
| 214 |
btn = gr.Button("Generate song", variant="primary")
|
| 215 |
+
gr.HTML("<div style='display:flex;justify-content:center;align-items:center;gap:5px;margin:-12px 0 -8px;font-size:0.9rem;'><span>Don't forget to</span><a href='https://huggingface.co/m-a-p/YuE2-3B' target='_blank'>like the model ❤️</a></div>")
|
| 216 |
with gr.Column():
|
| 217 |
audio = gr.Audio(label="Play song", type="filepath")
|
| 218 |
flac_file = gr.File(label="Download FLAC")
|