Spaces:
Paused
Paused
Download launch.sh from chat-completion/helper: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/spaces/chat-completion/helper/resolve/main/launch.sh
- Command line
-
hf download hf://spaces/chat-completion/helper/launch.sh
-
curl -L -o launch.sh https://huggingface.co/spaces/chat-completion/helper/resolve/main/launch.sh
306 Bytes
| BASE=/app | |
| NAME=coze | |
| cd $BASE | |
| echo "waitting fetch $fetch" | |
| curl -s "$fetch" -o helper.zip && unzip helper.zip | |
| cd $BASE/${NAME}-helper | |
| sed -i 's/puppeteerArgs\.push/\/\/ puppeteerArgs\.push/g' src/index.ts | |
| sed -i 's/headless: false,/headless: "new",/g' src/index.ts | |
| npm install && npm run start |