Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -161,7 +161,7 @@ def handle_image_message(event):
|
|
| 161 |
if not user_states[user_id]["is_ready_for_outfit"]:
|
| 162 |
line_bot_api.reply_message(
|
| 163 |
reply_token,
|
| 164 |
-
TextSendMessage(text="
|
| 165 |
)
|
| 166 |
return
|
| 167 |
|
|
@@ -261,7 +261,7 @@ def handle_image_message(event):
|
|
| 261 |
else:
|
| 262 |
line_bot_api.reply_message(
|
| 263 |
reply_token,
|
| 264 |
-
TextSendMessage(text="
|
| 265 |
)
|
| 266 |
|
| 267 |
except Exception as e:
|
|
|
|
| 161 |
if not user_states[user_id]["is_ready_for_outfit"]:
|
| 162 |
line_bot_api.reply_message(
|
| 163 |
reply_token,
|
| 164 |
+
TextSendMessage(text="請先輸入個人資訊,格式為:身高,胸圍,腰圍,臀圍,場合。例如:165,85,65,90,約會")
|
| 165 |
)
|
| 166 |
return
|
| 167 |
|
|
|
|
| 261 |
else:
|
| 262 |
line_bot_api.reply_message(
|
| 263 |
reply_token,
|
| 264 |
+
TextSendMessage(text="已收到所有衣物圖片!接下來,請上傳一張您個人的全身照片,以便進行虛擬試穿。如果想重來請輸入:重置")
|
| 265 |
)
|
| 266 |
|
| 267 |
except Exception as e:
|