alanchen1115 commited on
Commit
172d1c7
·
verified ·
1 Parent(s): 1c41fb2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -234,7 +234,7 @@ def handle_message(event):
234
  if previous_message["type"] == "image":
235
  image_path = previous_message["content"]
236
  agent_input = {
237
- "input": f"這是一張圖片在 {image_path},請根據圖片和我的問題回答:{user_text}"
238
  }
239
  # 清除上一則圖片訊息,避免重複觸發
240
  user_message_history[user_id].pop()
 
234
  if previous_message["type"] == "image":
235
  image_path = previous_message["content"]
236
  agent_input = {
237
+ "input": f"這是一張圖片在 {image_path},請根據圖片和回答以下問題:{user_text}"
238
  }
239
  # 清除上一則圖片訊息,避免重複觸發
240
  user_message_history[user_id].pop()