add shell function
Browse files- startup.sh +1 -1
startup.sh
CHANGED
@@ -36,7 +36,7 @@ echo "$COMPONENT is running"
|
|
36 |
# python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+7b &
|
37 |
COMPONENT="interactive_demo"
|
38 |
echo "Starting $COMPONENT"
|
39 |
-
nohup python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+
|
40 |
while [ `grep -c "loaded prismatic prism-dinosiglip+7b" interactive_demo.log` -eq '0' ];do
|
41 |
sleep 1s;
|
42 |
echo "wait $COMPONENT to be running"
|
|
|
36 |
# python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+7b &
|
37 |
COMPONENT="interactive_demo"
|
38 |
echo "Starting $COMPONENT"
|
39 |
+
nohup python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+7b | tee interactive_demo.log &
|
40 |
while [ `grep -c "loaded prismatic prism-dinosiglip+7b" interactive_demo.log` -eq '0' ];do
|
41 |
sleep 1s;
|
42 |
echo "wait $COMPONENT to be running"
|