Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -17
src/streamlit_app.py
CHANGED
|
@@ -81,30 +81,15 @@ def anormal(df, col_name, warning, text_input, audio_base64):
|
|
| 81 |
st.markdown(audio_html, unsafe_allow_html=True)
|
| 82 |
|
| 83 |
# ์๋น์ค ์คํ
|
| 84 |
-
st.subheader("๋ฐ์ดํฐ ์ ํ")
|
| 85 |
selected_text = st.selectbox("๋ฐ์ดํฐ๋ฅผ ์ ํํ์ธ์", options)
|
| 86 |
|
| 87 |
-
|
| 88 |
-
# <style>
|
| 89 |
-
# div.stButton > button {
|
| 90 |
-
# background-color: transparent;
|
| 91 |
-
# border: none;
|
| 92 |
-
# color: black;
|
| 93 |
-
# font-size: 30px;
|
| 94 |
-
# padding: 0;
|
| 95 |
-
# }
|
| 96 |
-
# div.stButton > button:hover {
|
| 97 |
-
# color: red;
|
| 98 |
-
# cursor: pointer;
|
| 99 |
-
# }
|
| 100 |
-
# </style>
|
| 101 |
-
# """, unsafe_allow_html=True)
|
| 102 |
|
| 103 |
|
| 104 |
if selected_text:
|
| 105 |
if selected_text == "":
|
| 106 |
none_temp()
|
| 107 |
-
elif
|
| 108 |
normal(df, "ECU_DPFSoot")
|
| 109 |
else:
|
| 110 |
audio_base64 = tts_engine(warning+" "+text_input)
|
|
|
|
| 81 |
st.markdown(audio_html, unsafe_allow_html=True)
|
| 82 |
|
| 83 |
# ์๋น์ค ์คํ
|
|
|
|
| 84 |
selected_text = st.selectbox("๋ฐ์ดํฐ๋ฅผ ์ ํํ์ธ์", options)
|
| 85 |
|
| 86 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
|
| 89 |
if selected_text:
|
| 90 |
if selected_text == "":
|
| 91 |
none_temp()
|
| 92 |
+
elif selected_text == "2024-09-26":
|
| 93 |
normal(df, "ECU_DPFSoot")
|
| 94 |
else:
|
| 95 |
audio_base64 = tts_engine(warning+" "+text_input)
|