Spaces:
Build error
Build error
Update musicgen_app.py
Browse files- musicgen_app.py +8 -0
musicgen_app.py
CHANGED
|
@@ -252,6 +252,14 @@ def ui_full(launch_kwargs):
|
|
| 252 |
|
| 253 |
gr.Examples(
|
| 254 |
fn=predict_full,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
inputs=[text, melody, model, decoder],
|
| 256 |
outputs=[output]
|
| 257 |
)
|
|
|
|
| 252 |
|
| 253 |
gr.Examples(
|
| 254 |
fn=predict_full,
|
| 255 |
+
examples=[
|
| 256 |
+
[
|
| 257 |
+
"An 80s driving pop song with heavy drums and synth pads in the background",
|
| 258 |
+
"./assets/bach.mp3",
|
| 259 |
+
"facebook/musicgen-melody",
|
| 260 |
+
"Default"
|
| 261 |
+
]
|
| 262 |
+
],
|
| 263 |
inputs=[text, melody, model, decoder],
|
| 264 |
outputs=[output]
|
| 265 |
)
|