Sreekan commited on
Commit
e6939fe
·
verified ·
1 Parent(s): 2c044e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -551,7 +551,7 @@ def payment_state(state: VisitorState):
551
  else:
552
  return {"messages": ["Payment failed due to an error. Please try again later."], "next": END}
553
 
554
- def final_state(state: VisitorState)
555
  """FinalState: Send email confirmation and finalize the appointment."""
556
  if state.payment_confirmed:
557
  appointment_details = f"Doctor: {state.doctor_name}\nTime: {state.selected_slot}"
 
551
  else:
552
  return {"messages": ["Payment failed due to an error. Please try again later."], "next": END}
553
 
554
+ def final_state(state: VisitorState):
555
  """FinalState: Send email confirmation and finalize the appointment."""
556
  if state.payment_confirmed:
557
  appointment_details = f"Doctor: {state.doctor_name}\nTime: {state.selected_slot}"