mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-12 13:42:23 +00:00
Merge branch 'main' into feature-xuyuan-openai-proxy
This commit is contained in:
commit
c03bd6fe97
4
run.sh
4
run.sh
@ -15,11 +15,11 @@ function find_python_command() {
|
|||||||
|
|
||||||
PYTHONCMD=$(find_python_command)
|
PYTHONCMD=$(find_python_command)
|
||||||
|
|
||||||
nohup PYTHONCMD pilot/server/llmserver.py >> /root/server.log 2>&1 &
|
nohup $PYTHONCMD pilot/server/llmserver.py >> /root/server.log 2>&1 &
|
||||||
while [ `grep -c "Uvicorn running on" /root/server.log` -eq '0' ];do
|
while [ `grep -c "Uvicorn running on" /root/server.log` -eq '0' ];do
|
||||||
sleep 1s;
|
sleep 1s;
|
||||||
echo "wait server running"
|
echo "wait server running"
|
||||||
done
|
done
|
||||||
echo "server running"
|
echo "server running"
|
||||||
|
|
||||||
PYTHONCMD pilot/server/webserver.py
|
$PYTHONCMD pilot/server/webserver.py
|
||||||
|
Loading…
Reference in New Issue
Block a user