randmimc commited on
Commit
135c817
ยท
verified ยท
1 Parent(s): 7ab840c

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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
- # st.markdown("""
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 text == "2024-09-26":
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)