Fixed a Closing Quote Typo (#3)

- Fixed a Closing Quote Typo (5d8e9cf89f5a2f09d2299d0a9eba4b66c1a41666)

Co-authored-by: Praveen Kumar <inboxpraveen@users.noreply.huggingface.co>
This commit is contained in:
ai-modelscope
2025-06-25 00:24:26 +08:00
parent 6fbed61b08
commit 9177955a4f

View File

@ -192,7 +192,7 @@ messages = [
"role": "user",
"content": [
{"type": "image", "image": image_path} for image_path in image_paths
] + [{"type": "text", "text": ""What kind of cat is this? Answer with one word."}],
] + [{"type": "text", "text": "What kind of cat is this? Answer with one word."}],
},
]
text = processor.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")