Download up.sh from vfbender/cfcpu: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/spaces/vfbender/cfcpu/resolve/main/up.sh
- Command line
-
hf download hf://spaces/vfbender/cfcpu/up.sh
-
curl -L -o up.sh https://huggingface.co/spaces/vfbender/cfcpu/resolve/main/up.sh
456 Bytes
| # CAUTION: | |
| # check the destination ! | |
| # this will cause total rebuild !! | |
| # | |
| REMOTE=git@hf.co:spaces/vfbender/cfcpu | |
| echo Carefully check this remote is what you want to OVERWRITE and REBUILD: | |
| echo | |
| echo $REMOTE | |
| echo | |
| # echo -e "Desired:\t$REMOTE" | |
| # echo -en "Already set:\t" | |
| # git remote get-url hf | |
| read -p "Press ENTER to confirm overwriting! " | |
| git remote remove hf | |
| git remote add hf $REMOTE | |
| # exit # test | |
| git add . | |
| git commit -am update | |
| git push -f hf | |