Zhiminli commited on
Commit
1832325
1 Parent(s): bc05bd7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -5
README.md CHANGED
@@ -75,13 +75,11 @@ python mllm/caption_demo.py --mode "caption_zh" --input_file "mllm/images/demo.c
75
 
76
 
77
  ### Gradio
78
- To launch a Gradio demo locally, please run the following commands one by one. For more detailed instructions, please refer to [LLaVA](https://github.com/haotian-liu/LLaVA).
79
  ```bash
80
  cd mllm
81
  python -m llava.serve.controller --host 0.0.0.0 --port 10000
82
-
83
  python -m llava.serve.gradio_web_server --controller http://0.0.0.0:10000 --model-list-mode reload --port 443
84
-
85
- python -m llava.serve.model_worker --host 0.0.0.0 --controller http://0.0.0.0:10000 --port 40000 --worker http://0.0.0.0:40000 --model-path "./ckpts/captioner" --model-name LlavaMistral
86
  ```
87
- Then the demo can be accessed through http://0.0.0.0:443. It should be noted that the 0.0.0.0 here needs to be X.X.X.X with your server IP.
 
75
 
76
 
77
  ### Gradio
78
+ To launch a Gradio demo locally, please execute the following commands sequentially. Ensure each command is running in the background. For more detailed instructions, please refer to [LLaVA](https://github.com/haotian-liu/LLaVA).
79
  ```bash
80
  cd mllm
81
  python -m llava.serve.controller --host 0.0.0.0 --port 10000
 
82
  python -m llava.serve.gradio_web_server --controller http://0.0.0.0:10000 --model-list-mode reload --port 443
83
+ python -m llava.serve.model_worker --host 0.0.0.0 --controller http://0.0.0.0:10000 --port 40000 --worker http://0.0.0.0:40000 --model-path "../ckpts/captioner" --model-name LlavaMistral
 
84
  ```
85
+ Then the demo can be accessed through http://0.0.0.0:443. It should be noted that the 0.0.0.0 here needs to be X.X.X.X with your server IP.