Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,19 +12,19 @@ video_model = VideoModel.from_transformers("facebook/timesformer-base-finetuned-
|
|
12 |
|
13 |
|
14 |
examples = [
|
15 |
-
["https://
|
16 |
-
["https://
|
17 |
-
["https://
|
18 |
-
["https://
|
19 |
-
["https://
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
]
|
29 |
|
30 |
|
@@ -84,7 +84,7 @@ with app:
|
|
84 |
youtube_url,
|
85 |
[predictions, video_gif],
|
86 |
fn=predict,
|
87 |
-
cache_examples=
|
88 |
)
|
89 |
|
90 |
predict_btn.click(predict, inputs=youtube_url, outputs=[predictions, video_gif])
|
|
|
12 |
|
13 |
|
14 |
examples = [
|
15 |
+
["https://www.youtube.com/watch?v=huAJ9dC5lmI"],
|
16 |
+
["https://www.youtube.com/watch?v=wvcWt6u5HTg"],
|
17 |
+
["https://www.youtube.com/watch?v=-3kZSi5qjRM"],
|
18 |
+
["https://www.youtube.com/watch?v=-6usjfP8hys"],
|
19 |
+
["https://www.youtube.com/watch?v=BDHub0gBGtc"],
|
20 |
+
["https://www.youtube.com/watch?v=B9ea7YyCP6E"],
|
21 |
+
["https://www.youtube.com/watch?v=BBkpaeJBKmk"],
|
22 |
+
["https://www.youtube.com/watch?v=BBqU8Apee_g"],
|
23 |
+
["https://www.youtube.com/watch?v=B8OdMwVwyXc"],
|
24 |
+
["https://www.youtube.com/watch?v=I7cwq6_4QtM"],
|
25 |
+
["https://www.youtube.com/watch?v=Z0mJDXpNhYA"],
|
26 |
+
["https://www.youtube.com/watch?v=QkQQjFGnZlg"],
|
27 |
+
["https://www.youtube.com/watch?v=IQaoRUQif14"],
|
28 |
]
|
29 |
|
30 |
|
|
|
84 |
youtube_url,
|
85 |
[predictions, video_gif],
|
86 |
fn=predict,
|
87 |
+
cache_examples=True,
|
88 |
)
|
89 |
|
90 |
predict_btn.click(predict, inputs=youtube_url, outputs=[predictions, video_gif])
|