Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
cc01223f
Unverified
Commit
cc01223f
authored
Feb 08, 2025
by
Ke Zhao
Committed by
GitHub
Feb 08, 2025
Browse files
[Misc] Fix typo in the example file (#12896)
Signed-off-by:
Zhao Ke
<
yingxiongraomingzk@gmail.com
>
parent
306923da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
examples/online_serving/openai_chat_embedding_client_for_multimodal.py
...ne_serving/openai_chat_embedding_client_for_multimodal.py
+3
-3
No files found.
examples/online_serving/openai_chat_embedding_client_for_multimodal.py
View file @
cc01223f
...
...
@@ -44,7 +44,7 @@ def vlm2vec():
def
dse_qwen2_vl
(
inp
:
dict
):
# Embedding an Image
if
inp
[
"
d
type"
]
==
"image"
:
if
inp
[
"type"
]
==
"image"
:
messages
=
[{
"role"
:
"user"
,
...
...
@@ -113,10 +113,10 @@ if __name__ == '__main__':
vlm2vec
()
elif
args
.
model
==
"dse_qwen2_vl"
:
dse_qwen2_vl
({
"
d
tye"
:
"image"
,
"ty
p
e"
:
"image"
,
"image_url"
:
image_url
,
})
dse_qwen2_vl
({
"
d
type"
:
"text"
,
"type"
:
"text"
,
"content"
:
"What is the weather like today?"
,
})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment