awacke1 commited on
Commit
9ce0f18
β€’
1 Parent(s): 91c3654

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -139,13 +139,9 @@ if 'key' not in st.session_state:
139
  if 'key' not in st.session_state:
140
  st.session_state.key = 'value'
141
  st.write(st.session_state.key)
142
-
143
- #st.session_state.key = 'value2' # Attribute API
144
- #st.session_state['key'] = 'value2' # Dictionary like API
145
-
146
  st.write(st.session_state)
147
 
148
- st.session_state
149
  for key in st.session_state.keys():
150
  del st.session_state[key]
151
  st.text_input("Your name", key="name")
 
139
  if 'key' not in st.session_state:
140
  st.session_state.key = 'value'
141
  st.write(st.session_state.key)
 
 
 
 
142
  st.write(st.session_state)
143
 
144
+ #st.session_state
145
  for key in st.session_state.keys():
146
  del st.session_state[key]
147
  st.text_input("Your name", key="name")