Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +4 -3
src/streamlit_app.py
CHANGED
|
@@ -59,9 +59,7 @@ if 'selection' not in st.session_state:
|
|
| 59 |
|
| 60 |
slected = st.selectbox(
|
| 61 |
"์ง๋จํ ๋ฐ์ดํฐ๋ฅผ ์ ํํ์ธ์:",
|
| 62 |
-
options
|
| 63 |
-
key="select_option",
|
| 64 |
-
on_change=reset_st
|
| 65 |
)
|
| 66 |
|
| 67 |
st.session_state["warning"] = ""
|
|
@@ -74,11 +72,14 @@ st.session_state.selection = slected
|
|
| 74 |
|
| 75 |
if st.session_state.selection == "":
|
| 76 |
st.write(st.session_state.selection)
|
|
|
|
| 77 |
none_temp()
|
| 78 |
elif st.session_state.selection == "2024-09-26":
|
| 79 |
st.write(st.session_state.selection)
|
|
|
|
| 80 |
normal(df, "ECU_DPFSoot")
|
| 81 |
else:
|
| 82 |
st.write(st.session_state.selection)
|
|
|
|
| 83 |
anormal(df, "ECU_DPFSoot", warning, text_input)
|
| 84 |
|
|
|
|
| 59 |
|
| 60 |
slected = st.selectbox(
|
| 61 |
"์ง๋จํ ๋ฐ์ดํฐ๋ฅผ ์ ํํ์ธ์:",
|
| 62 |
+
options
|
|
|
|
|
|
|
| 63 |
)
|
| 64 |
|
| 65 |
st.session_state["warning"] = ""
|
|
|
|
| 72 |
|
| 73 |
if st.session_state.selection == "":
|
| 74 |
st.write(st.session_state.selection)
|
| 75 |
+
st.write(st.session_state.audio)
|
| 76 |
none_temp()
|
| 77 |
elif st.session_state.selection == "2024-09-26":
|
| 78 |
st.write(st.session_state.selection)
|
| 79 |
+
st.write(st.session_state.audio)
|
| 80 |
normal(df, "ECU_DPFSoot")
|
| 81 |
else:
|
| 82 |
st.write(st.session_state.selection)
|
| 83 |
+
st.write(st.session_state.audio)
|
| 84 |
anormal(df, "ECU_DPFSoot", warning, text_input)
|
| 85 |
|