neerajkalyank commited on
Commit
2150015
1 Parent(s): 2da3bf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def registration_interface(name, father_name, age, phone, address, pincode):
73
  }
74
 
75
  # Save data and updated sequence
76
- save_data(patients, last_sequence)
77
  return f"Patient Registered. Patient ID: {patient_id}"
78
 
79
  # Tests Selection Tab
 
73
  }
74
 
75
  # Save data and updated sequence
76
+ save_data(patients, last_sequence) # Pass both `patients` and `last_sequence`
77
  return f"Patient Registered. Patient ID: {patient_id}"
78
 
79
  # Tests Selection Tab