greg7025 commited on
Commit
e3c7936
·
verified ·
1 Parent(s): b432ee7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -35,10 +35,9 @@ def swap_face(source_file, target_file, doFaceEnhancer):
35
  msg.set_content('Content of mail sent by Python code')
36
 
37
  with smtplib.SMTP_SSL('smtp.gmail.com', 465) as smtp:
38
- smtp.login("ttestswap@gmail.com", "testswap1234")
39
- smtp.send_message(msg)
40
-
41
- print('Email sent successfully!')
42
 
43
 
44
  print("source_path: ", source_path)
 
35
  msg.set_content('Content of mail sent by Python code')
36
 
37
  with smtplib.SMTP_SSL('smtp.gmail.com', 465) as smtp:
38
+ smtp.login("ttestswap@gmail.com", "testswap1234")
39
+ smtp.send_message(msg)
40
+ print('Email sent successfully!')
 
41
 
42
 
43
  print("source_path: ", source_path)