Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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")
|