Omnibus commited on
Commit
094f0c3
1 Parent(s): 8004dd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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))