Krika commited on
Commit
42fd3a1
·
1 Parent(s): 4605217

delta string fix sherika

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -22,9 +22,13 @@ DISABLE_DB = os.getenv("DISABLE_DB", "1") == "1"
22
 
23
  try:
24
  ok = api.health().get("ok")
25
- st.sidebar.success("Backend: UP") if ok else st.sidebar.warning("Backend: ?")
 
 
 
26
  except Exception as e:
27
  st.sidebar.error(f"Backend DOWN: {e}")
 
28
 
29
  # --- SESSION STATE INITIALIZATION ---
30
  for key, default in [("user", None), ("current_page", "Welcome"),
 
22
 
23
  try:
24
  ok = api.health().get("ok")
25
+ if ok:
26
+ st.sidebar.success("Backend: UP")
27
+ else:
28
+ st.sidebar.warning("Backend: ?")
29
  except Exception as e:
30
  st.sidebar.error(f"Backend DOWN: {e}")
31
+
32
 
33
  # --- SESSION STATE INITIALIZATION ---
34
  for key, default in [("user", None), ("current_page", "Welcome"),