Unverified Commit cc01223f authored by Ke Zhao's avatar Ke Zhao Committed by GitHub
Browse files

[Misc] Fix typo in the example file (#12896)


Signed-off-by: default avatarZhao Ke <yingxiongraomingzk@gmail.com>
parent 306923da
......@@ -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",
......@@ -113,10 +113,10 @@ if __name__ == '__main__':
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?",
})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment