fffiloni commited on
Commit
74b681f
·
1 Parent(s): 1f2b06a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -74,7 +74,8 @@ def infer(imported_gif):
74
  break_vid = get_frames("my_gif_video.mp4")
75
  frames_list= break_vid[0]
76
  fps = break_vid[1]
77
- n_frame = int(trim_value*fps)
 
78
 
79
  if n_frame >= len(frames_list):
80
  print("video is shorter than the cut value")
 
74
  break_vid = get_frames("my_gif_video.mp4")
75
  frames_list= break_vid[0]
76
  fps = break_vid[1]
77
+ #n_frame = int(trim_value*fps)
78
+ n_frame = len(frames_list)
79
 
80
  if n_frame >= len(frames_list):
81
  print("video is shorter than the cut value")