Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,20 +31,20 @@ VALID_ZEROSHOT_VIDEOCLASSIFICATION_MODELS = [
|
|
| 31 |
processor = AutoProcessor.from_pretrained(DEFAULT_MODEL)
|
| 32 |
model = AutoModel.from_pretrained(DEFAULT_MODEL)
|
| 33 |
|
| 34 |
-
examples = [
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
]
|
| 48 |
|
| 49 |
|
| 50 |
def select_model(model_name):
|
|
|
|
| 31 |
processor = AutoProcessor.from_pretrained(DEFAULT_MODEL)
|
| 32 |
model = AutoModel.from_pretrained(DEFAULT_MODEL)
|
| 33 |
|
| 34 |
+
# examples = [
|
| 35 |
+
# [
|
| 36 |
+
# "https://www.youtu.be/l1dBM8ZECao",
|
| 37 |
+
# "sleeping dog,cat fight club,birds of prey",
|
| 38 |
+
# ],
|
| 39 |
+
# [
|
| 40 |
+
# "https://youtu.be/VMj-3S1tku0",
|
| 41 |
+
# "programming course,eating spaghetti,playing football",
|
| 42 |
+
# ],
|
| 43 |
+
# [
|
| 44 |
+
# "https://youtu.be/BRw7rvLdGzU",
|
| 45 |
+
# "game of thrones,the lord of the rings,vikings",
|
| 46 |
+
# ],
|
| 47 |
+
# ]
|
| 48 |
|
| 49 |
|
| 50 |
def select_model(model_name):
|