Spaces:
Sleeping
Sleeping
Update RestoreFormer.py
Browse files1 unmodified line23456781 unmodified lineimport cv2import torchfrom basicsr.utils import img2tensor, tensor2imgfrom basicsr.utils.download_util import load_file_from_urlfrom facexlib.utils.face_restoration_helper import FaceRestoreHelperfrom torchvision.transforms.functional import normalize1 unmodified line23456781 unmodified lineimport cv2import torchfrom img_utils import img2tensor, tensor2imgfrom basicsr.utils.download_util import load_file_from_urlfrom facexlib.utils.face_restoration_helper import FaceRestoreHelperfrom torchvision.transforms.functional import normalize
RestoreFormer.py+1-1