Update app.py
Browse files
app.py
CHANGED
|
@@ -347,9 +347,8 @@ def email_agent(credentials_info, name, email, prospect_name, linkedin_url, webs
|
|
| 347 |
except Exception as e:
|
| 348 |
return (f"<div style='color: red;'>Error saving to Gmail drafts: {str(e)}</div>", email_content)
|
| 349 |
|
| 350 |
-
|
| 351 |
-
return ("<div style='color: red;'>
|
| 352 |
-
email_content)
|
| 353 |
|
| 354 |
# Gradio Interface
|
| 355 |
def verify_user(email):
|
|
|
|
| 347 |
except Exception as e:
|
| 348 |
return (f"<div style='color: red;'>Error saving to Gmail drafts: {str(e)}</div>", email_content)
|
| 349 |
|
| 350 |
+
except Exception as e:
|
| 351 |
+
return (f"<div style='color: red;'>Error: {str(e)}</div>", "")
|
|
|
|
| 352 |
|
| 353 |
# Gradio Interface
|
| 354 |
def verify_user(email):
|