PrashanthB461 commited on
Commit
978fadd
·
verified ·
1 Parent(s): 061ef58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- log_display = gr.Dataframe(headers=["worker_id", "name", "timestamp", "camera_id", "verification_status"], interactive=False, height=500)
 
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):