curiousgeorge1292 commited on
Commit
9dfe978
·
verified ·
1 Parent(s): 81d8376

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -367,12 +367,12 @@ def generate_email(name, email, prospect_name, linkedin_url, website_url, contex
367
  return f"Error generating email: {str(e)}"
368
 
369
  # Step 2: Email generation UI
370
- def email_agent(credentials_info, name, email, prospect_name, linkedin_url, website_url, context_url, word_count, email_purpose, interested_position, company_url, professional_title, personal_background):
371
 
372
  try:
373
 
374
  # Generate the email content
375
- email_content = generate_email(name, email, prospect_name, linkedin_url, website_url, context_url, word_count, email_purpose, interested_position, company_url, professional_title, personal_background)
376
 
377
  if not email_content:
378
  return ("<div style='color: red;'>Failed to generate email content.</div>", "")
 
367
  return f"Error generating email: {str(e)}"
368
 
369
  # Step 2: Email generation UI
370
+ def email_agent(credentials_info, name, email, prospect_name, linkedin_url, website_url, context_url, word_count, email_purpose, interested_position, company_url, professional_title, personal_background, output_language):
371
 
372
  try:
373
 
374
  # Generate the email content
375
+ email_content = generate_email(name, email, prospect_name, linkedin_url, website_url, context_url, word_count, email_purpose, interested_position, company_url, professional_title, personal_background, output_language)
376
 
377
  if not email_content:
378
  return ("<div style='color: red;'>Failed to generate email content.</div>", "")