profaker commited on
Commit
e0a9bde
·
verified ·
1 Parent(s): 8e888ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -47,6 +47,7 @@ def frames_to_video(frame_folder, video_path, image_path, frame_count, fps):
47
  face_enhancer = gfpgan.GFPGANer(model_path="GFPGANv1.4.pth", upscale=1, device='cuda')
48
 
49
  for i in tqdm(range(frame_count), desc="Converting frames to video"):
 
50
  img1 = cv2.imread(os.path.join(frame_folder, frames[i]))
51
  faces1 = app.get(img1)
52
  for _ in range(20):
 
47
  face_enhancer = gfpgan.GFPGANer(model_path="GFPGANv1.4.pth", upscale=1, device='cuda')
48
 
49
  for i in tqdm(range(frame_count), desc="Converting frames to video"):
50
+ print("Progress:",progress)
51
  img1 = cv2.imread(os.path.join(frame_folder, frames[i]))
52
  faces1 = app.get(img1)
53
  for _ in range(20):