From 068be2bfc4aab4fe8f78b6eb1fddfc65806f4f5a Mon Sep 17 00:00:00 2001 From: josc146 Date: Fri, 17 Nov 2023 20:47:33 +0800 Subject: [PATCH] update setup comments --- deploy-examples/RWKV-Runner-WebUI/setup.bat | 1 + deploy-examples/RWKV-Runner-WebUI/setup.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/deploy-examples/RWKV-Runner-WebUI/setup.bat b/deploy-examples/RWKV-Runner-WebUI/setup.bat index d9d5583..f9288db 100644 --- a/deploy-examples/RWKV-Runner-WebUI/setup.bat +++ b/deploy-examples/RWKV-Runner-WebUI/setup.bat @@ -9,6 +9,7 @@ call npm ci call npm run build cd .. +: optional: set ngrok_token=YOUR_NGROK_TOKEN start python ./backend-python/main.py --webui start "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" "http://127.0.0.1:8000" diff --git a/deploy-examples/RWKV-Runner-WebUI/setup.sh b/deploy-examples/RWKV-Runner-WebUI/setup.sh index c8794c1..132578d 100644 --- a/deploy-examples/RWKV-Runner-WebUI/setup.sh +++ b/deploy-examples/RWKV-Runner-WebUI/setup.sh @@ -11,6 +11,7 @@ npm ci npm run build cd .. +# optional: export ngrok_token=YOUR_NGROK_TOKEN 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