Update main.py
Browse files
main.py
CHANGED
|
@@ -121,7 +121,7 @@ def handle_image_message(event):
|
|
| 121 |
chat = chat_sessions[user_id]
|
| 122 |
else:
|
| 123 |
chat = model.start_chat(history=[])
|
| 124 |
-
|
| 125 |
|
| 126 |
# εΎ LINE API η²εεηζΈζ
|
| 127 |
image_path = get_image_url(event.message.id)
|
|
|
|
| 121 |
chat = chat_sessions[user_id]
|
| 122 |
else:
|
| 123 |
chat = model.start_chat(history=[])
|
| 124 |
+
chat_sessions[user_id] = chat
|
| 125 |
|
| 126 |
# εΎ LINE API η²εεηζΈζ
|
| 127 |
image_path = get_image_url(event.message.id)
|