randmimc commited on
Commit
0a224bb
ยท
verified ยท
1 Parent(s): 31548fa

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -63,7 +63,7 @@ def reset_st():
63
  if 'selection' not in st.session_state:
64
  st.session_state.selection = ""
65
 
66
- st.selectbox(
67
  "์ง„๋‹จํ•  ๋ฐ์ดํ„ฐ๋ฅผ ์„ ํƒํ•˜์„ธ์š”:",
68
  options,
69
  key="select_option",
@@ -71,7 +71,7 @@ st.selectbox(
71
  )
72
 
73
 
74
-
75
 
76
  if st.session_state.selection == "":
77
  st.write(st.session_state.selection)
 
63
  if 'selection' not in st.session_state:
64
  st.session_state.selection = ""
65
 
66
+ slected = st.selectbox(
67
  "์ง„๋‹จํ•  ๋ฐ์ดํ„ฐ๋ฅผ ์„ ํƒํ•˜์„ธ์š”:",
68
  options,
69
  key="select_option",
 
71
  )
72
 
73
 
74
+ st.session_state.selection = slected
75
 
76
  if st.session_state.selection == "":
77
  st.write(st.session_state.selection)