Update app.py
Browse files
app.py
CHANGED
|
@@ -271,7 +271,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 271 |
|
| 272 |
with gr.TabItem("View Attendance Log"):
|
| 273 |
gr.Markdown("## Attendance Log")
|
| 274 |
-
|
|
|
|
| 275 |
|
| 276 |
def update_log_display():
|
| 277 |
if os.path.exists(LOG_FILE):
|
|
|
|
| 271 |
|
| 272 |
with gr.TabItem("View Attendance Log"):
|
| 273 |
gr.Markdown("## Attendance Log")
|
| 274 |
+
# FIX: Removed the unsupported 'height' argument
|
| 275 |
+
log_display = gr.Dataframe(headers=["worker_id", "name", "timestamp", "camera_id", "verification_status"], interactive=False)
|
| 276 |
|
| 277 |
def update_log_display():
|
| 278 |
if os.path.exists(LOG_FILE):
|