Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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]:
|