ravinder2024 commited on
Commit
340457a
·
verified ·
1 Parent(s): 91aa74c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,7 +6,6 @@ import pandas as pd
6
  from PIL import Image
7
  import io
8
 
9
-
10
  def create_database():
11
  """Creates the attendance database."""
12
  conn = sqlite3.connect('attendance.db')
@@ -60,7 +59,7 @@ def capture_photo():
60
  create_database()
61
  st.title("Attendance System")
62
 
63
- upload_choice = st.sidebar.selectbox("Menu", ["Click Photo", "Database"])
64
 
65
  if menu == "Click Photo":
66
  st.header("Mark Attendance by Clicking Photo")
 
6
  from PIL import Image
7
  import io
8
 
 
9
  def create_database():
10
  """Creates the attendance database."""
11
  conn = sqlite3.connect('attendance.db')
 
59
  create_database()
60
  st.title("Attendance System")
61
 
62
+ menu = st.sidebar.selectbox("Menu", ["Click Photo", "Database"])
63
 
64
  if menu == "Click Photo":
65
  st.header("Mark Attendance by Clicking Photo")