Skip to content

Commit

Permalink
[Misc] Fix typo in the example file (vllm-project#12896)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhao Ke <[email protected]>
  • Loading branch information
DK-DARKmatter authored and panf2333 committed Feb 18, 2025
1 parent 5d95e4b commit 260f907
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def vlm2vec():

def dse_qwen2_vl(inp: dict):
# Embedding an Image
if inp["dtype"] == "image":
if inp["type"] == "image":
messages = [{
"role":
"user",
Expand Down Expand Up @@ -113,10 +113,10 @@ def dse_qwen2_vl(inp: dict):
vlm2vec()
elif args.model == "dse_qwen2_vl":
dse_qwen2_vl({
"dtye": "image",
"type": "image",
"image_url": image_url,
})
dse_qwen2_vl({
"dtype": "text",
"type": "text",
"content": "What is the weather like today?",
})

0 comments on commit 260f907

Please sign in to comment.