fffiloni commited on
Commit
3e4418e
1 Parent(s): 55c9cad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def infer(prompt,video_in, seed_in, trim_value):
40
 
41
  frames_list= break_vid[0]
42
  fps = break_vid[1]
43
- n_frame = trim_value*fps
44
  result_frames = []
45
 
46
  for i in frames_list[0:n_frame]:
 
40
 
41
  frames_list= break_vid[0]
42
  fps = break_vid[1]
43
+ n_frame = int(trim_value*fps)
44
  result_frames = []
45
 
46
  for i in frames_list[0:n_frame]: