Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,13 @@ from calendar_rag import (
|
|
14 |
def load_custom_css():
|
15 |
st.markdown("""
|
16 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/* General body styling */
|
18 |
body {
|
19 |
font-family: "Arial", sans-serif !important; /* Clean and readable font */
|
@@ -406,7 +413,7 @@ def main():
|
|
406 |
</div>
|
407 |
</div>
|
408 |
""".format(
|
409 |
-
datetime.now() + timedelta(hours=7).strftime('%Y-%m-%d %H:%M:%S'),
|
410 |
"status-online" if st.session_state.pipeline else "status-offline",
|
411 |
"🟢" if st.session_state.pipeline else "🔴",
|
412 |
"พร้อมใช้งาน" if st.session_state.pipeline else "ไม่พร้อมใช้งาน"
|
|
|
14 |
def load_custom_css():
|
15 |
st.markdown("""
|
16 |
<style>
|
17 |
+
|
18 |
+
/* Spinner text styling */
|
19 |
+
.stSpinner > div > div {
|
20 |
+
color: #000000 !important; /* Change the text color to black */
|
21 |
+
font-size: 1.2rem; /* Adjust font size if needed */
|
22 |
+
}
|
23 |
+
|
24 |
/* General body styling */
|
25 |
body {
|
26 |
font-family: "Arial", sans-serif !important; /* Clean and readable font */
|
|
|
413 |
</div>
|
414 |
</div>
|
415 |
""".format(
|
416 |
+
(datetime.now() + timedelta(hours=7)).strftime('%Y-%m-%d %H:%M:%S'),
|
417 |
"status-online" if st.session_state.pipeline else "status-offline",
|
418 |
"🟢" if st.session_state.pipeline else "🔴",
|
419 |
"พร้อมใช้งาน" if st.session_state.pipeline else "ไม่พร้อมใช้งาน"
|