Spaces:
Build error
Build error
Update app.py
Browse files
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:
|