Spaces:
Paused
Paused
koby commited on
Commit ·
bbc5c51
1
Parent(s): aa4ca52
default white theme, drop custom dark css
Browse files
app.py
CHANGED
|
@@ -155,15 +155,6 @@ def generate(style, lyrics, cot, seed, cfg_scale):
|
|
| 155 |
return flac_path, mp3_path, f"seed={seed} | {os.path.getsize(mp3_path) // 1024}KB MP3 320kbps"
|
| 156 |
|
| 157 |
|
| 158 |
-
custom_css = """
|
| 159 |
-
:root { color-scheme: dark; }
|
| 160 |
-
body, .gradio-container { background-color: #0e0e0f !important; color: #ffffff !important; }
|
| 161 |
-
h1, h2, h3, label, p, .prose { color: #ffffff !important; }
|
| 162 |
-
input, textarea, select { color: #ffffff !important; }
|
| 163 |
-
input::placeholder, textarea::placeholder { color: #9a9aa3 !important; }
|
| 164 |
-
footer { display: none !important; }
|
| 165 |
-
"""
|
| 166 |
-
|
| 167 |
with gr.Blocks(title="YuE2-3B Music") as demo:
|
| 168 |
gr.Markdown("# YuE2-3B Music Generator\nFull song (vocals + accompaniment) from a style prompt and lyrics.")
|
| 169 |
with gr.Row():
|
|
@@ -186,4 +177,4 @@ with gr.Blocks(title="YuE2-3B Music") as demo:
|
|
| 186 |
"[YuE2-community dataset](https://huggingface.co/datasets/directedbykobyperez/YuE2-community)"
|
| 187 |
)
|
| 188 |
|
| 189 |
-
demo.queue().launch(
|
|
|
|
| 155 |
return flac_path, mp3_path, f"seed={seed} | {os.path.getsize(mp3_path) // 1024}KB MP3 320kbps"
|
| 156 |
|
| 157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
with gr.Blocks(title="YuE2-3B Music") as demo:
|
| 159 |
gr.Markdown("# YuE2-3B Music Generator\nFull song (vocals + accompaniment) from a style prompt and lyrics.")
|
| 160 |
with gr.Row():
|
|
|
|
| 177 |
"[YuE2-community dataset](https://huggingface.co/datasets/directedbykobyperez/YuE2-community)"
|
| 178 |
)
|
| 179 |
|
| 180 |
+
demo.queue().launch(footer_links=[], favicon_path="favicon.png")
|