Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,8 +31,8 @@ def get_frame_count(filepath):
|
|
| 31 |
video.release()
|
| 32 |
|
| 33 |
#LIMITS
|
| 34 |
-
if frame_count > 24 :
|
| 35 |
-
|
| 36 |
|
| 37 |
return gr.update(maximum=frame_count)
|
| 38 |
|
|
|
|
| 31 |
video.release()
|
| 32 |
|
| 33 |
#LIMITS
|
| 34 |
+
#if frame_count > 24 :
|
| 35 |
+
# frame_count = 24 # limit to 24 frames to avoid cuDNN errors
|
| 36 |
|
| 37 |
return gr.update(maximum=frame_count)
|
| 38 |
|