jymcc commited on
Commit
b408b7a
1 Parent(s): 8ba3a39

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -22,18 +22,18 @@ HuatuoGPT-Vision is a multimodal LLM for medical applications, built with the [P
22
 
23
  # <span id="Start">Quick Start</span>
24
 
25
- - Get the model inference code from [Github](https://github.com/FreedomIntelligence/HuatuoGPT-Vision).
26
  ```bash
27
  git clone https://github.com/FreedomIntelligence/HuatuoGPT-Vision.git
28
  ```
29
- - Model inference
30
  ```python
31
  query = 'What does the picture show?'
32
  image_paths = ['image_path1']
33
 
34
  from cli import HuatuoChatbot
35
- bot = HuatuoChatbot(huatuogpt_vision_model_path)
36
- output = bot.inference(query, image_paths)
37
  print(output) # Prints the model output
38
  ```
39
 
 
22
 
23
  # <span id="Start">Quick Start</span>
24
 
25
+ 1. Get the model inference code from [Github](https://github.com/FreedomIntelligence/HuatuoGPT-Vision).
26
  ```bash
27
  git clone https://github.com/FreedomIntelligence/HuatuoGPT-Vision.git
28
  ```
29
+ 2. Model inference
30
  ```python
31
  query = 'What does the picture show?'
32
  image_paths = ['image_path1']
33
 
34
  from cli import HuatuoChatbot
35
+ bot = HuatuoChatbot(huatuogpt_vision_model_path) # loads the model
36
+ output = bot.inference(query, image_paths) # generates
37
  print(output) # Prints the model output
38
  ```
39