mattb512 commited on
Commit
7538386
1 Parent(s): 8333668

switch from localhost to ip

Browse files
Files changed (1) hide show
  1. startup.sh +3 -4
startup.sh CHANGED
@@ -3,14 +3,13 @@ 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
-
7
- python -m serve.gradio_web_server --controller http://localhost:10000 --model-list-mode reload --share
8
-
9
  #!/bin/bash
10
  python -m serve.controller --host 0.0.0.0 --port 10000 &
11
  P1=$!
12
 
13
- python -m serve.gradio_web_server --controller http://localhost:10000 --model-list-mode reload --share &
 
 
14
  P2=$!
15
 
16
  wait $P1 $P2
 
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