Spaces:
Runtime error
Runtime error
cache examples
Browse filesthis is useful even when space is full allowing anyone to at least try out the examples
- demos/musicgen_app.py +2 -1
demos/musicgen_app.py
CHANGED
|
@@ -333,7 +333,8 @@ def ui_full(launch_kwargs):
|
|
| 333 |
],
|
| 334 |
],
|
| 335 |
inputs=[text, melody, model, decoder],
|
| 336 |
-
outputs=[output]
|
|
|
|
| 337 |
)
|
| 338 |
gr.Markdown(
|
| 339 |
"""
|
|
|
|
| 333 |
],
|
| 334 |
],
|
| 335 |
inputs=[text, melody, model, decoder],
|
| 336 |
+
outputs=[output],
|
| 337 |
+
cache_examples=True
|
| 338 |
)
|
| 339 |
gr.Markdown(
|
| 340 |
"""
|