Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,9 @@ file_name = st.file_uploader("Upload image")
|
|
36 |
def add_attendance(names):
|
37 |
url = "https://20march2024-flask.glitch.me/adduserdata1" # Change this URL to your Glitch endpoint
|
38 |
success_count = 0
|
39 |
-
|
40 |
for name in names:
|
|
|
41 |
data = {'name': name}
|
42 |
response = requests.post(url, data=data)
|
43 |
if response.status_code == 200:
|
|
|
36 |
def add_attendance(names):
|
37 |
url = "https://20march2024-flask.glitch.me/adduserdata1" # Change this URL to your Glitch endpoint
|
38 |
success_count = 0
|
39 |
+
print(len(names))
|
40 |
for name in names:
|
41 |
+
|
42 |
data = {'name': name}
|
43 |
response = requests.post(url, data=data)
|
44 |
if response.status_code == 200:
|