fcakyon commited on
Commit
b05ab34
1 Parent(s): 75f9038

activate example caching in gradio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ with app:
145
  [youtube_url, youtube_url_labels_text],
146
  [predictions, video_gif],
147
  fn=predict,
148
- cache_examples=False,
149
  )
150
 
151
  youtube_url_predict_btn.click(
 
145
  [youtube_url, youtube_url_labels_text],
146
  [predictions, video_gif],
147
  fn=predict,
148
+ cache_examples=True,
149
  )
150
 
151
  youtube_url_predict_btn.click(