Spaces:
Runtime error
Runtime error
Download setup.sh from Siam2315/CodeFormer: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/Siam2315/CodeFormer/resolve/main/setup.sh
- Command line
-
hf download hf://spaces/Siam2315/CodeFormer/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/Siam2315/CodeFormer/resolve/main/setup.sh
298 Bytes
| # 1. Install standard requirements from the file (excluding facelib/basicsr) | |
| pip install --no-cache-dir -r requirements.txt | |
| # 2. Install the basicsr package in development/editable mode | |
| # This is often needed because CodeFormer modifies basicsr/facelib | |
| python basicsr/setup.py develop |