mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Update comment.
This commit is contained in:
parent
dd623d92c4
commit
2492fade3a
1 changed files with 2 additions and 2 deletions
|
|
@ -120,8 +120,8 @@ class OllamaConfig:
|
|||
and v is not None
|
||||
}
|
||||
|
||||
# ollama wants plain base64 jpeg files as images. strip any leading dataURI
|
||||
# and convert to jpeg.
|
||||
# ollama wants plain base64 jpeg/png files as images. strip any leading dataURI
|
||||
# and convert to jpeg if necessary.
|
||||
def _convert_image(image):
|
||||
import base64, io
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue