sehaj13 commited on
Commit
bf040a0
·
verified ·
1 Parent(s): e9d0bc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -165,9 +165,9 @@ with app_tab:
165
  pname = image_paths[match_idx].split('/')[-1].split('.')[0]
166
  st.write('Welcome: ',pname)
167
 
168
- ###### upload the data to Glitch https://aimljan25f.glitch.me/adds
169
  # # using post method
170
- url = "https://aimljan25f.glitch.me/adds"
171
 
172
  data = {'rno': '15','sname': pname, 'sclass': '7' }
173
  # response = requests.post(url +url1 , data=data)
@@ -178,7 +178,7 @@ with app_tab:
178
  # Response
179
  resp = request.urlopen(req)
180
  if response.status_code == 200:
181
- st.success("Data updated on: " + "https://aimljan25f.glitch.me/")
182
  else:
183
  st.warning("Data not updated")
184
  ########## end update website
 
165
  pname = image_paths[match_idx].split('/')[-1].split('.')[0]
166
  st.write('Welcome: ',pname)
167
 
168
+ ###### upload the data to Glitch https://aimljan25f.glitch.me/addg
169
  # # using post method
170
+ url = "https://sehajpreet-aiml-2025.glitch.me/addg"
171
 
172
  data = {'rno': '15','sname': pname, 'sclass': '7' }
173
  # response = requests.post(url +url1 , data=data)
 
178
  # Response
179
  resp = request.urlopen(req)
180
  if response.status_code == 200:
181
+ st.success("Data updated on: " + "https://sehajpreet-aiml-2025.glitch.me/")
182
  else:
183
  st.warning("Data not updated")
184
  ########## end update website