Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ def document_data_tool(question):
|
|
238 |
return query_response
|
239 |
|
240 |
|
241 |
-
def send_email_with_attachment(recipient_email, subject, body,
|
242 |
try:
|
243 |
sender_email = os.getenv("EMAIL_SENDER")
|
244 |
sender_password = os.getenv("EMAIL_PASSWORD")
|
|
|
238 |
return query_response
|
239 |
|
240 |
|
241 |
+
def send_email_with_attachment(recipient_email, subject, body, attachment_path):
|
242 |
try:
|
243 |
sender_email = os.getenv("EMAIL_SENDER")
|
244 |
sender_password = os.getenv("EMAIL_PASSWORD")
|