junyangwang0410 commited on
Commit
2d01780
·
verified ·
1 Parent(s): a1cf35c

Update PCAgent/chat.py

Browse files
Files changed (1) hide show
  1. PCAgent/chat.py +1 -1
PCAgent/chat.py CHANGED
@@ -79,7 +79,7 @@ def add_response(role, prompt, chat_history, image=[], use_qwen=False):
79
  # base64_image = resize_encode_image(image[i])
80
  content.append(
81
  {
82
- "type": "image_",
83
  "image": f"file://{image[i]}"
84
  }
85
  )
 
79
  # base64_image = resize_encode_image(image[i])
80
  content.append(
81
  {
82
+ "type": "image",
83
  "image": f"file://{image[i]}"
84
  }
85
  )