Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -179,6 +179,11 @@ with app_tab:
|
|
| 179 |
|
| 180 |
# Response
|
| 181 |
resp = request.urlopen(req)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
|
| 183 |
#######################
|
| 184 |
else:
|
|
|
|
| 179 |
|
| 180 |
# Response
|
| 181 |
resp = request.urlopen(req)
|
| 182 |
+
if response.status_code == 200:
|
| 183 |
+
st.success("Data updated on: " + "https://aimljan25f.glitch.me/")
|
| 184 |
+
else:
|
| 185 |
+
st.warning("Data not updated")
|
| 186 |
+
########## end update website
|
| 187 |
|
| 188 |
#######################
|
| 189 |
else:
|