Spaces:
Paused
Paused
koby commited on
Commit ·
fa86582
1
Parent(s): a3ffcd6
fix Gradio 6: move css to launch(), footer_links=[] hides API/Gradio/Settings footer
Browse files
app.py
CHANGED
|
@@ -399,7 +399,7 @@ audio::-webkit-media-controls-panel { background: #1f2937; }
|
|
| 399 |
footer { display: none !important; }
|
| 400 |
"""
|
| 401 |
|
| 402 |
-
with gr.Blocks(
|
| 403 |
gr.HTML(
|
| 404 |
"""
|
| 405 |
<div class="main-title">
|
|
@@ -488,4 +488,4 @@ with gr.Blocks(css=custom_css, title="YuE2-3B Music Generator") as demo:
|
|
| 488 |
outputs=[feed_html, feed_status],
|
| 489 |
)
|
| 490 |
|
| 491 |
-
demo.queue().launch(
|
|
|
|
| 399 |
footer { display: none !important; }
|
| 400 |
"""
|
| 401 |
|
| 402 |
+
with gr.Blocks(title="YuE2-3B Music Generator") as demo:
|
| 403 |
gr.HTML(
|
| 404 |
"""
|
| 405 |
<div class="main-title">
|
|
|
|
| 488 |
outputs=[feed_html, feed_status],
|
| 489 |
)
|
| 490 |
|
| 491 |
+
demo.queue().launch(css=custom_css, footer_links=[])
|