Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -251,7 +251,14 @@ waveform_opts = gr.WaveformOptions(
|
|
| 251 |
trim_region_color="#7c4dff"
|
| 252 |
)
|
| 253 |
|
| 254 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
with gr.Column(elem_id="container"):
|
| 256 |
gr.Markdown("<h1 style='font-weight: bold; text-align: center; font-size: 40px; margin: 0px;'>nanoMPC</h1>")
|
| 257 |
gr.Markdown("<p style='text-align: center; font-size: 18px;'>nanoMPC is a MIDI transformer model that generates lo-fi and boom bap beats.</p>")
|
|
@@ -274,5 +281,3 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Default(font=[gr.themes.GoogleFon
|
|
| 274 |
gr.Markdown("<p style='text-align: center; font-size: 14px;'>Developed by <a href='https://www.patchbanks.com/' target='_blank'><strong>Patchbanks</strong></a></p>")
|
| 275 |
|
| 276 |
iface.launch(share=True)
|
| 277 |
-
|
| 278 |
-
iface.launch(share=True)
|
|
|
|
| 251 |
trim_region_color="#7c4dff"
|
| 252 |
)
|
| 253 |
|
| 254 |
+
with gr.Blocks(
|
| 255 |
+
css=custom_css,
|
| 256 |
+
theme=gr.themes.Default(
|
| 257 |
+
font=[gr.themes.GoogleFont("Roboto"), "sans-serif"],
|
| 258 |
+
primary_hue="indigo",
|
| 259 |
+
secondary_hue="violet"
|
| 260 |
+
)
|
| 261 |
+
) as iface:
|
| 262 |
with gr.Column(elem_id="container"):
|
| 263 |
gr.Markdown("<h1 style='font-weight: bold; text-align: center; font-size: 40px; margin: 0px;'>nanoMPC</h1>")
|
| 264 |
gr.Markdown("<p style='text-align: center; font-size: 18px;'>nanoMPC is a MIDI transformer model that generates lo-fi and boom bap beats.</p>")
|
|
|
|
| 281 |
gr.Markdown("<p style='text-align: center; font-size: 14px;'>Developed by <a href='https://www.patchbanks.com/' target='_blank'><strong>Patchbanks</strong></a></p>")
|
| 282 |
|
| 283 |
iface.launch(share=True)
|
|
|
|
|
|