never using copy and paste
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ def is_api_up():
|
|
| 7 |
|
| 8 |
r = requests.get(f"{HOST}/ping")
|
| 9 |
|
| 10 |
-
return r.status_code == 200
|
| 11 |
|
| 12 |
if st.button("make list"):
|
| 13 |
if !is_api_up():
|
|
|
|
| 7 |
|
| 8 |
r = requests.get(f"{HOST}/ping")
|
| 9 |
|
| 10 |
+
return r.status_code == 200
|
| 11 |
|
| 12 |
if st.button("make list"):
|
| 13 |
if !is_api_up():
|