Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ def gif_clip(program,fps,qual,model_name,denoise_strength,face_enhance,outscale)
|
|
158 |
|
159 |
if program == 'imageio':
|
160 |
print (f"NOT adjusting fps from: {fps} to: {fps*2}")
|
161 |
-
|
162 |
new_video_in = str(f"{uid}-clip.mp4")
|
163 |
capture = cv2.VideoCapture(new_video_in)
|
164 |
frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
|
|
|
158 |
|
159 |
if program == 'imageio':
|
160 |
print (f"NOT adjusting fps from: {fps} to: {fps*2}")
|
161 |
+
fps=fps*2
|
162 |
new_video_in = str(f"{uid}-clip.mp4")
|
163 |
capture = cv2.VideoCapture(new_video_in)
|
164 |
frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
|