Download CodeFormer/facelib/utils/__init__.py from deemenasa/DonaRep: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/spaces/deemenasa/DonaRep/resolve/main/CodeFormer/facelib/utils/__init__.py
- Command line
-
hf download hf://spaces/deemenasa/DonaRep/CodeFormer/facelib/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/deemenasa/DonaRep/resolve/main/CodeFormer/facelib/utils/__init__.py
389 Bytes
| from .face_utils import align_crop_face_landmarks, compute_increased_bbox, get_valid_bboxes, paste_face_back | |
| from .misc import img2tensor, load_file_from_url, download_pretrained_models, scandir | |
| __all__ = [ | |
| 'align_crop_face_landmarks', 'compute_increased_bbox', 'get_valid_bboxes', 'load_file_from_url', | |
| 'download_pretrained_models', 'paste_face_back', 'img2tensor', 'scandir' | |
| ] | |