Download scripts/tout.sh from hhz520/webchat: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/hhz520/webchat/resolve/main/scripts/tout.sh
- Command line
-
hf download hf://spaces/hhz520/webchat/scripts/tout.sh
-
curl -L -o tout.sh https://huggingface.co/spaces/hhz520/webchat/resolve/main/scripts/tout.sh
253 Bytes
| #打开日志 | |
| cd `dirname $0`/.. | |
| export BASE_DIR=`pwd` | |
| echo $BASE_DIR | |
| # check the nohup.out log output file | |
| if [ ! -f "${BASE_DIR}/nohup.out" ]; then | |
| echo "No file ${BASE_DIR}/nohup.out" | |
| exit -1; | |
| fi | |
| tail -f "${BASE_DIR}/nohup.out" | |