Nelly-43 commited on
Commit
53d00f6
Β·
verified Β·
1 Parent(s): ad1b055

Update app_web.py

Browse files
Files changed (1) hide show
  1. app_web.py +4 -4
app_web.py CHANGED
@@ -33,10 +33,10 @@ def cg_admin():
33
  return orgs
34
 
35
  # 1. Force a clean state wipe on first load of the browser session
36
- # if "orgs" in st.session_state:
37
- # st.session_state.clear() # Wipes out any residual states
38
- # st.session_state["orgs"] = cg_admin()
39
- # st.write(st.session_state.orgs)
40
 
41
  # ── Session initialisation ───────────────────────────────────────────────────
42
  def init_session():
 
33
  return orgs
34
 
35
  # 1. Force a clean state wipe on first load of the browser session
36
+ if "orgs" in st.session_state:
37
+ st.session_state.clear() # Wipes out any residual states
38
+ st.session_state["orgs"] = cg_admin()
39
+ st.write(st.session_state.orgs)
40
 
41
  # ── Session initialisation ───────────────────────────────────────────────────
42
  def init_session():