SimpleChat:sh: Add simple shell script to run python3 http.server

So one needs to run the llm server locally
then run this script and access it using a local browser
This commit is contained in:
HanishKVC 2024-05-17 22:51:37 +05:30
parent ebe330d098
commit 29d2d22c02

View file

@ -0,0 +1,9 @@
PORT=$1
if [ "$PORT" == "" ]; then
PORT=9000
fi
echo "Open http://127.0.0.1:$PORT/simplechat.html in your local browser"
python3 -m http.server $PORT