Spaces:
Runtime error
Runtime error
Download engine/BiRefNet/make_a_copy.sh from 3DAIGC/LHM: direct link, hf CLI and curl.
- Browser
- Download file 520 Bytes
-
https://huggingface.co/spaces/3DAIGC/LHM/resolve/04c1907b2ca9e6aabbcfdb4c698ca5823d2aa87d/engine/BiRefNet/make_a_copy.sh
- Command line
-
hf download hf://spaces/3DAIGC/LHM@04c1907b2ca9e6aabbcfdb4c698ca5823d2aa87d/engine/BiRefNet/make_a_copy.sh
-
curl -L -o make_a_copy.sh https://huggingface.co/spaces/3DAIGC/LHM/resolve/04c1907b2ca9e6aabbcfdb4c698ca5823d2aa87d/engine/BiRefNet/make_a_copy.sh
520 Bytes
| # Set dst repo here. | |
| repo=$1 | |
| mkdir ../${repo} | |
| mkdir ../${repo}/evaluation | |
| mkdir ../${repo}/models | |
| mkdir ../${repo}/models/backbones | |
| mkdir ../${repo}/models/modules | |
| mkdir ../${repo}/models/refinement | |
| cp ./*.sh ../${repo} | |
| cp ./*.py ../${repo} | |
| cp ./evaluation/*.py ../${repo}/evaluation | |
| cp ./models/*.py ../${repo}/models | |
| cp ./models/backbones/*.py ../${repo}/models/backbones | |
| cp ./models/modules/*.py ../${repo}/models/modules | |
| cp ./models/refinement/*.py ../${repo}/models/refinement | |
| cp -r ./.git* ../${repo} | |