sarwansingh commited on
Commit
76bc498
·
verified ·
1 Parent(s): 6d14414

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ webcam_path = 'captured_image.jpg'
21
  # Set Streamlit title
22
  st.title("AIML-Student Attendance System")
23
 
24
- # Load employee image paths
25
  image_paths = glob(os.path.join(data_path, '*.jpg'))
26
 
27
  # Initialize Face Analysis
@@ -88,7 +88,7 @@ with app_tab:
88
  st.success(f"✅ Welcome: {matched_name}")
89
 
90
  # Send attendance via POST
91
- url = "https://nielit-attendance.glitch.me/adds"
92
  data = {'rno': 15, 'sname': matched_name, 'sclass': 7}
93
  try:
94
  response = requests.post(url, data=data)
 
21
  # Set Streamlit title
22
  st.title("AIML-Student Attendance System")
23
 
24
+ # Load student image paths
25
  image_paths = glob(os.path.join(data_path, '*.jpg'))
26
 
27
  # Initialize Face Analysis
 
88
  st.success(f"✅ Welcome: {matched_name}")
89
 
90
  # Send attendance via POST
91
+ url = "https://aimljan25att.glitch.me/adds"
92
  data = {'rno': 15, 'sname': matched_name, 'sclass': 7}
93
  try:
94
  response = requests.post(url, data=data)