Spaces:
Runtime error
Runtime error
activate example caching in gradio
Browse files
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=
|
| 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(
|