Spaces:
Sleeping
Sleeping
add pre_face_align option.
Browse files206 unmodified lines207208209210211212206 unmodified linesrestored_img = face_helper.paste_faces_to_input_image(upsample_img=bg_img, draw_box=draw_box)# save restored imgsave_path = f'output/out.png'206 unmodified lines207208209210211212213214206 unmodified linesrestored_img = face_helper.paste_faces_to_input_image(upsample_img=bg_img, draw_box=draw_box)else:restored_img = restored_face# save restored imgsave_path = f'output/out.png'
app.py+2