From 94a5dc4fb71bea6fc60c6e984a21db074839af0d Mon Sep 17 00:00:00 2001 From: josc146 Date: Tue, 14 Nov 2023 17:38:24 +0800 Subject: [PATCH] update setup.sh comments --- deploy-examples/ChatGPT-Next-Web/setup.sh | 4 ++-- deploy-examples/RWKV-Runner-WebUI/setup.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy-examples/ChatGPT-Next-Web/setup.sh b/deploy-examples/ChatGPT-Next-Web/setup.sh index e3b28b7..3bcfc51 100644 --- a/deploy-examples/ChatGPT-Next-Web/setup.sh +++ b/deploy-examples/ChatGPT-Next-Web/setup.sh @@ -9,7 +9,7 @@ cd RWKV-Next-Web git clone https://github.com/josStorer/RWKV-Runner --depth=1 python3 -m pip install torch torchvision torchaudio python3 -m pip install -r RWKV-Runner/backend-python/requirements.txt -python3 ./RWKV-Runner/backend-python/main.py > log.txt & +python3 ./RWKV-Runner/backend-python/main.py > log.txt & # this is only an example, you should use screen or other tools to run it in background if [ ! -d RWKV-Runner/models ]; then mkdir RWKV-Runner/models @@ -22,6 +22,6 @@ yarn install yarn build export PROXY_URL="" export BASE_URL=http://127.0.0.1:8000 -yarn start & +yarn start & # this is only an example, you should use screen or other tools to run it in background curl http://127.0.0.1:8000/switch-model -X POST -H "Content-Type: application/json" -d '{"model":"./RWKV-Runner/models/RWKV-4-World-0.1B-v1-20230520-ctx4096.pth","strategy":"cpu fp32"}' diff --git a/deploy-examples/RWKV-Runner-WebUI/setup.sh b/deploy-examples/RWKV-Runner-WebUI/setup.sh index 88b3c97..c8794c1 100644 --- a/deploy-examples/RWKV-Runner-WebUI/setup.sh +++ b/deploy-examples/RWKV-Runner-WebUI/setup.sh @@ -11,7 +11,7 @@ npm ci npm run build cd .. -python3 ./backend-python/main.py --webui > log.txt & +python3 ./backend-python/main.py --webui > log.txt & # this is only an example, you should use screen or other tools to run it in background if [ ! -d models ]; then mkdir models