Skip to content

Commit

Permalink
fixed some webui bugs and release new features
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcun committed Jun 12, 2023
1 parent d72dca1 commit 4c38d1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/facerender/animate.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ def generate(self, x, video_save_dir, pic_path, crop_info, enhancer=None, backgr
enhanced_images_gen_with_len = enhancer_generator_with_len(full_video_path, method=enhancer, bg_upsampler=background_enhancer)
imageio.mimsave(enhanced_path, enhanced_images_gen_with_len, fps=float(25))
except:
print('error in enhancer_generator_with_len')
enhanced_images_gen_with_len = enhancer_list(full_video_path, method=enhancer, bg_upsampler=background_enhancer)
imageio.mimsave(enhanced_path, enhanced_images_gen_with_len, fps=float(25))

Expand Down

0 comments on commit 4c38d1f

Please sign in to comment.