Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -626,7 +626,7 @@ def answer_question(user_question, chatbot, audio=None):
|
|
626 |
send_email_with_attachment_mailjet(
|
627 |
recipient_email=user_email,
|
628 |
subject="Warehouse Inventory Report",
|
629 |
-
body=response.get("output", "").split("
|
630 |
# attachment_path=chart_path
|
631 |
attachment_path=img_str)
|
632 |
|
|
|
626 |
send_email_with_attachment_mailjet(
|
627 |
recipient_email=user_email,
|
628 |
subject="Warehouse Inventory Report",
|
629 |
+
body=response.get("output", "").split(".")[0],
|
630 |
# attachment_path=chart_path
|
631 |
attachment_path=img_str)
|
632 |
|