Processor issues : apply_chat_template

#7
by Praba-854 - opened

While applying the chat template to the message, it raises a
TypeError: can only concatenate str (not "list") to str. (Tranformers == 5.8.1)

message for reference
messages = [
{
"role": "user",
"content": [
{
"type": "image",
"image": image_path
},
{"type": "text", "text": prompt}
]
}
]

Sign up or log in to comment