Ticio commited on
Commit
cdd9179
·
verified ·
1 Parent(s): a5b3513

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -39,7 +39,7 @@ def feedback(query, context, history):
39
  msg["From"] = mail
40
  msg["To"] = mail
41
  try:
42
- with smtplib.SMTP_SSL("smtp.gmail.com", 465, context=ssl.create_default_context()) as server:
43
  server.login(mail, APP_PASSWORD)
44
  server.send_message(msg)
45
  except Exception as e:
 
39
  msg["From"] = mail
40
  msg["To"] = mail
41
  try:
42
+ with smtplib.SMTP_SSL("smtp.gmail.com", 2525, context=ssl.create_default_context()) as server:
43
  server.login(mail, APP_PASSWORD)
44
  server.send_message(msg)
45
  except Exception as e: