Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -2
src/streamlit_app.py
CHANGED
|
@@ -57,11 +57,12 @@ def anormal(df, col_name, warning, text_input):
|
|
| 57 |
if 'selection' not in st.session_state:
|
| 58 |
st.session_state.selection = ""
|
| 59 |
|
| 60 |
-
st.selectbox(
|
| 61 |
"진단할 데이터를 선택하세요:",
|
| 62 |
options=options
|
| 63 |
-
key='selection' # 이 key가 st.session_state.selection과 연결됩니다.
|
| 64 |
)
|
|
|
|
|
|
|
| 65 |
if st.session_state.selection == "":
|
| 66 |
none_temp()
|
| 67 |
elif st.session_state.selection == "2024-09-26":
|
|
|
|
| 57 |
if 'selection' not in st.session_state:
|
| 58 |
st.session_state.selection = ""
|
| 59 |
|
| 60 |
+
selected = st.selectbox(
|
| 61 |
"진단할 데이터를 선택하세요:",
|
| 62 |
options=options
|
|
|
|
| 63 |
)
|
| 64 |
+
|
| 65 |
+
st.session_state.selection = selected
|
| 66 |
if st.session_state.selection == "":
|
| 67 |
none_temp()
|
| 68 |
elif st.session_state.selection == "2024-09-26":
|