Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -650,7 +650,7 @@ def answer_question_thread(user_question, chatbot, audio=None):
|
|
650 |
send_email_with_attachment_mailjet(
|
651 |
recipient_email=user_email,
|
652 |
subject="Warehouse Inventory Report",
|
653 |
-
body=response.get("output", "").split(".")[0],
|
654 |
# attachment_path=chart_path
|
655 |
attach_img_base64=img_str)
|
656 |
|
|
|
650 |
send_email_with_attachment_mailjet(
|
651 |
recipient_email=user_email,
|
652 |
subject="Warehouse Inventory Report",
|
653 |
+
body=response.get("output", "").split(".")[0] + ". This is an auto-generated email containing a chart created using Generative AI.",
|
654 |
# attachment_path=chart_path
|
655 |
attach_img_base64=img_str)
|
656 |
|