Spaces:
Runtime error
Runtime error
init
Browse files- .DS_Store +0 -0
- app.py +1 -1
- clapping.mp4 +0 -0
.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
app.py
CHANGED
|
@@ -91,7 +91,7 @@ def inference(video):
|
|
| 91 |
prediction = model(inputs)
|
| 92 |
prediction = F.softmax(prediction, dim=1).flatten()
|
| 93 |
|
| 94 |
-
return {mitv1_id_to_classname[str(i)]: float(prediction[i]) for i in range(
|
| 95 |
|
| 96 |
|
| 97 |
def set_example_video(example: list) -> dict:
|
|
|
|
| 91 |
prediction = model(inputs)
|
| 92 |
prediction = F.softmax(prediction, dim=1).flatten()
|
| 93 |
|
| 94 |
+
return {mitv1_id_to_classname[str(i)]: float(prediction[i]) for i in range(339)}
|
| 95 |
|
| 96 |
|
| 97 |
def set_example_video(example: list) -> dict:
|
clapping.mp4
CHANGED
|
Binary files a/clapping.mp4 and b/clapping.mp4 differ
|
|
|