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:
parent
ebe330d098
commit
29d2d22c02
|
|
@ -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
|
||||||
Loading…
Reference in New Issue