Spaces:
Running
Running
Download third_part/GPEN/face_morpher/scripts/make_docs.sh from palette-lab/LipsyncDocker: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/spaces/palette-lab/LipsyncDocker/resolve/main/third_part/GPEN/face_morpher/scripts/make_docs.sh
- Command line
-
hf download hf://spaces/palette-lab/LipsyncDocker/third_part/GPEN/face_morpher/scripts/make_docs.sh
-
curl -L -o make_docs.sh https://huggingface.co/spaces/palette-lab/LipsyncDocker/resolve/main/third_part/GPEN/face_morpher/scripts/make_docs.sh
460 Bytes
| rm -rf docs | |
| # reStructuredText in python files to rst. Documentation in docs folder | |
| sphinx-apidoc -A "Alyssa Quek" -f -F -o docs facemorpher/ | |
| cd docs | |
| # Append module path to end of conf file | |
| echo "" >> conf.py | |
| echo "import os" >> conf.py | |
| echo "import sys" >> conf.py | |
| echo "sys.path.insert(0, os.path.abspath('../'))" >> conf.py | |
| echo "sys.path.insert(0, os.path.abspath('../facemorpher'))" >> conf.py | |
| # Make sphinx documentation | |
| make html | |
| cd .. | |