Spaces:
Running
on
Zero
Running
on
Zero
File size: 518 Bytes
4f81869 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Face -> (optional) eye extraction entrypoint.
This wraps `anime_face_eye_extract.py` so you can run:
python scripts/extract_faces_eyes.py --help
"""
from __future__ import annotations
import sys
from pathlib import Path
_ROOT = Path(__file__).resolve().parents[1]
if str(_ROOT) not in sys.path:
sys.path.insert(0, str(_ROOT))
def main() -> None:
from anime_face_eye_extract import main as _main
_main()
if __name__ == "__main__":
main()
|