sarwansingh commited on
Commit
6b16299
1 Parent(s): 5d82a17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -71,10 +71,16 @@ if img_file_buffer is not None:
71
  cv2.putText(image,name,(x1+6,y2-6),cv2.FONT_HERSHEY_COMPLEX,1,(255, 255, 255),2)
72
 
73
  ##############
74
- url = "https://rgiattendance.000webhostapp.com"
75
- url1 = "/update.php"
76
- data1 = {'name':name }
77
- response = requests.post(url+url1, data=data1)
 
 
 
 
 
 
78
 
79
  if response.status_code == 200 :
80
  st.write(" data updated on : " + url)
 
71
  cv2.putText(image,name,(x1+6,y2-6),cv2.FONT_HERSHEY_COMPLEX,1,(255, 255, 255),2)
72
 
73
  ##############
74
+ # url = "https://rgiattendance.000webhostapp.com"
75
+ # url1 = "/update.php"
76
+ # data1 = {'name':name }
77
+ # response = requests.post(url+url1, data=data1)
78
+
79
+ # https://aimljul23f.glitch.me/fsave?nm=testname
80
+ url = "https://aimljul23f.glitch.me/"
81
+ url1 = "/fsave?nm=" + name
82
+ # data1 = {'name':name }
83
+ response = requests.post(url+url1)
84
 
85
  if response.status_code == 200 :
86
  st.write(" data updated on : " + url)