Spaces:
Runtime error
Runtime error
Commit
Β·
1d618b8
1
Parent(s):
9de5817
Update utils/predict.py
Browse files- utils/predict.py +0 -1
utils/predict.py
CHANGED
|
@@ -92,7 +92,6 @@ def predict_action(path):
|
|
| 92 |
confidences[CLASS_VOCAB[i]] = float(probabilities[i])
|
| 93 |
|
| 94 |
gif_out = to_gif(frames[:MAX_SEQ_LENGTH])
|
| 95 |
-
# gif_out = gen_moviepy_gif(path, start_seconds, end_seconds)
|
| 96 |
|
| 97 |
print(confidences)
|
| 98 |
return confidences, gif_out
|
|
|
|
| 92 |
confidences[CLASS_VOCAB[i]] = float(probabilities[i])
|
| 93 |
|
| 94 |
gif_out = to_gif(frames[:MAX_SEQ_LENGTH])
|
|
|
|
| 95 |
|
| 96 |
print(confidences)
|
| 97 |
return confidences, gif_out
|