load controller first
Browse files- startup.sh +5 -7
startup.sh
CHANGED
@@ -1,15 +1,13 @@
|
|
1 |
-
#!/bin/sh
|
2 |
-
echo $HF_TOKEN > .hf_token
|
3 |
-
python -m interactive_demo --port 40000 --model_id prism-dinosiglip+7b
|
4 |
-
python -m interactive_demo --port 40001 --model_family llava-v15 --model_id llava-v1.5-7b --model_dir liuhaotian/llava-v1.5-7b
|
5 |
-
|
6 |
#!/bin/bash
|
7 |
python -m serve.controller --host 0.0.0.0 --port 10000 &
|
8 |
P1=$!
|
9 |
|
10 |
-
sleep 30
|
11 |
-
|
12 |
python -m serve.gradio_web_server --controller http://127.0.0.1:10000 --model-list-mode reload --share &
|
13 |
P2=$!
|
14 |
|
|
|
|
|
|
|
|
|
|
|
15 |
wait $P1 $P2
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
#!/bin/bash
|
2 |
python -m serve.controller --host 0.0.0.0 --port 10000 &
|
3 |
P1=$!
|
4 |
|
|
|
|
|
5 |
python -m serve.gradio_web_server --controller http://127.0.0.1:10000 --model-list-mode reload --share &
|
6 |
P2=$!
|
7 |
|
8 |
+
sleep 30
|
9 |
+
echo $HF_TOKEN > .hf_token
|
10 |
+
python -m interactive_demo --port 40000 --model_id prism-dinosiglip+7b
|
11 |
+
python -m interactive_demo --port 40001 --model_family llava-v15 --model_id llava-v1.5-7b --model_dir liuhaotian/llava-v1.5-7b
|
12 |
+
|
13 |
wait $P1 $P2
|