Ujeshhh commited on
Commit
84c001c
·
verified ·
1 Parent(s): e61c2fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -360,7 +360,7 @@ def schedule_appointment(therapist, time_slot, date, user_email, appointment_not
360
  therapist_email = therapists[therapist]["email"]
361
  success, error_msg = send_emails(therapist, time_slot, date, user_email, therapist_email, appointment_note, state["chat_history"], state)
362
  if success:
363
- return f"Appointment booked with {therapist} on {date} at {time_slot}. Emails sent from {GMAIL_ADDRESS} to {therapist_email} and {user_email}!", state
364
  else:
365
  return (f"Appointment booked with {therapist} on {date} at {time_slot}. "
366
  f"Emails from {GMAIL_ADDRESS} could not be sent. "
 
360
  therapist_email = therapists[therapist]["email"]
361
  success, error_msg = send_emails(therapist, time_slot, date, user_email, therapist_email, appointment_note, state["chat_history"], state)
362
  if success:
363
+ return f"Appointment booked with {therapist} on {date} at {time_slot}.", state
364
  else:
365
  return (f"Appointment booked with {therapist} on {date} at {time_slot}. "
366
  f"Emails from {GMAIL_ADDRESS} could not be sent. "