bullerwins commited on
Commit
20bcf5e
1 Parent(s): ecf71b8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -20,7 +20,8 @@ Mistral common has image support! You can now pass images and URLs alongside tex
20
  ```
21
  pip install --upgrade mistral_common
22
  ```
23
- Images
 
24
 
25
  You can encode images as follows
26
  ```
@@ -58,7 +59,8 @@ tokens, text, images = tokenized.tokens, tokenized.text, tokenized.images
58
  print("# tokens", len(tokens))
59
  print("# images", len(images))
60
  ```
61
- # Image URLs
 
62
 
63
  You can pass image url which will be automatically downloaded
64
  ```
@@ -87,6 +89,7 @@ tokens, text, images = tokenized.tokens, tokenized.text, tokenized.images
87
  print("# tokens", len(tokens))
88
  print("# images", len(images))
89
  ```
 
90
  # ImageData
91
 
92
  You can also pass image encoded as base64
 
20
  ```
21
  pip install --upgrade mistral_common
22
  ```
23
+
24
+ ## Images
25
 
26
  You can encode images as follows
27
  ```
 
59
  print("# tokens", len(tokens))
60
  print("# images", len(images))
61
  ```
62
+
63
+ ## Image URLs
64
 
65
  You can pass image url which will be automatically downloaded
66
  ```
 
89
  print("# tokens", len(tokens))
90
  print("# images", len(images))
91
  ```
92
+
93
  # ImageData
94
 
95
  You can also pass image encoded as base64