Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- 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)
|