1TSnakers commited on
Commit
80215ba
·
verified ·
1 Parent(s): 41cca7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def is_api_up():
10
  return r.status_code == 200
11
 
12
  if st.button("make list"):
13
- if !is_api_up():
14
  st.error(f"HTTP error {r.status_code}")
15
  else:
16
  r = requests.get(f"{HOST}/library")
 
10
  return r.status_code == 200
11
 
12
  if st.button("make list"):
13
+ if not is_api_up():
14
  st.error(f"HTTP error {r.status_code}")
15
  else:
16
  r = requests.get(f"{HOST}/library")