Update app.py
Browse files
app.py
CHANGED
@@ -128,6 +128,7 @@ def request_to_v2(message, cookie, user_id,attachment=None,context=[]):
|
|
128 |
attachment_response = upload_attachment(cookie,user_id,attachment)
|
129 |
if attachment_response:
|
130 |
attachments = [attachment_response]
|
|
|
131 |
else:
|
132 |
return {"Error: Invalid file format. Please try again."}
|
133 |
|
|
|
128 |
attachment_response = upload_attachment(cookie,user_id,attachment)
|
129 |
if attachment_response:
|
130 |
attachments = [attachment_response]
|
131 |
+
print(f"attachment_response:{attachment_response}")
|
132 |
else:
|
133 |
return {"Error: Invalid file format. Please try again."}
|
134 |
|