fffiloni commited on
Commit
9b7b4e6
1 Parent(s): fe1dcee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def get_frame_count(filepath):
26
  video.release()
27
 
28
  #LIMITS
29
- if frame_count > 12 :
30
  frame_count = 24 # limit to 24 frames to avoid cuDNN errors
31
  return gr.update(maximum=frame_count)
32
 
 
26
  video.release()
27
 
28
  #LIMITS
29
+ if frame_count > 24 :
30
  frame_count = 24 # limit to 24 frames to avoid cuDNN errors
31
  return gr.update(maximum=frame_count)
32