Spaces:
Runtime error
Runtime error
sarwansingh
commited on
Commit
•
47de644
1
Parent(s):
00b161d
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,10 @@ def update_data(name):
|
|
38 |
# data = {'name': name, 'aadhaar': '998877'}
|
39 |
# response = requests.post(url + url1, data=data)
|
40 |
|
41 |
-
url = "https://aimljan24f1.glitch.me/
|
42 |
-
|
|
|
|
|
43 |
if response.status_code == 200:
|
44 |
st.success("Data updated on: " + url)
|
45 |
else:
|
|
|
38 |
# data = {'name': name, 'aadhaar': '998877'}
|
39 |
# response = requests.post(url + url1, data=data)
|
40 |
|
41 |
+
url = "https://aimljan24f1.glitch.me/adduserdata" #?rollno=222&name="+name
|
42 |
+
data = {'rollno':'222','name': name}
|
43 |
+
response = requests.post(url , data=data )
|
44 |
+
|
45 |
if response.status_code == 200:
|
46 |
st.success("Data updated on: " + url)
|
47 |
else:
|