Spaces:
Sleeping
Sleeping
Commit ·
d1e359c
1
Parent(s): cb6a2f0
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,8 +73,14 @@ if img_file_buffer is not None:
|
|
| 73 |
data = {
|
| 74 |
'name': name,
|
| 75 |
}
|
| 76 |
-
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
st.image(image)
|
| 79 |
if bytes_data is None:
|
| 80 |
st.stop()
|
|
|
|
| 73 |
data = {
|
| 74 |
'name': name,
|
| 75 |
}
|
| 76 |
+
response = requests.get(url, params=data)
|
| 77 |
|
| 78 |
+
if response.status_code == 200 :
|
| 79 |
+
st.write(" data updated on : https://kiwi-whispering-plier.glitch.me" )
|
| 80 |
+
else : st.write("data not updated ")
|
| 81 |
+
|
| 82 |
+
##############################
|
| 83 |
+
|
| 84 |
st.image(image)
|
| 85 |
if bytes_data is None:
|
| 86 |
st.stop()
|