nikshep01 commited on
Commit
363428d
·
verified ·
1 Parent(s): 44fbf10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -37,6 +37,7 @@ file_name = st.camera_input("Upload image")
37
 
38
  def add_attendance(names):
39
  current_datetime = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
 
40
  with open(f'Attendance/Attendance-{current_datetime}.csv', 'a') as f:
41
  f.write('Name,Time\n') # Write header if file is newly created
42
  for name in names:
 
37
 
38
  def add_attendance(names):
39
  current_datetime = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
40
+ print('Date',current_datetime)
41
  with open(f'Attendance/Attendance-{current_datetime}.csv', 'a') as f:
42
  f.write('Name,Time\n') # Write header if file is newly created
43
  for name in names: