Add cache to examples

#2
by chainyo - opened
Files changed (1) hide show
  1. app.py +2 -1
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()