Spaces:
Running
on
A10G
Running
on
A10G
Add cache to examples
#2
by
chainyo
- opened
app.py
CHANGED
@@ -130,7 +130,8 @@ with gr.Blocks() as demo:
|
|
130 |
],
|
131 |
],
|
132 |
inputs=[text, melody, model],
|
133 |
-
outputs=[output]
|
|
|
134 |
)
|
135 |
|
136 |
demo.launch()
|
|
|
130 |
],
|
131 |
],
|
132 |
inputs=[text, melody, model],
|
133 |
+
outputs=[output],
|
134 |
+
cache_examples=True,
|
135 |
)
|
136 |
|
137 |
demo.launch()
|