Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -244,23 +244,23 @@ def load_data():
|
|
| 244 |
|
| 245 |
df = load_data()
|
| 246 |
|
| 247 |
-
col1, col2, col3 = st.columns([1,
|
| 248 |
|
| 249 |
with col1:
|
| 250 |
st.markdown("""
|
| 251 |
-
<div style="display:flex; align-items:center; justify-content:center; height:100%;">
|
| 252 |
<img src="https://huggingface.co/spaces/bukittechnology/tyre/resolve/main/logo.png"
|
| 253 |
-
style="max-width:120px; height:auto;">
|
| 254 |
</div>
|
| 255 |
""", unsafe_allow_html=True)
|
| 256 |
|
| 257 |
with col2:
|
| 258 |
st.markdown("""
|
| 259 |
<div style="text-align:center; font-family:Arial, sans-serif; padding:2px 0;">
|
| 260 |
-
<h1 style="color:#154D9C; font-weight:bold; margin:0;">
|
| 261 |
-
Tyre Pressure Monitoring System (TPMS) Analytics
|
| 262 |
</h1>
|
| 263 |
-
<p style="font-size:
|
| 264 |
Daily trend insights derived from 13–16 December 2023 data
|
| 265 |
</p>
|
| 266 |
</div>
|
|
@@ -268,13 +268,12 @@ with col2:
|
|
| 268 |
|
| 269 |
with col3:
|
| 270 |
st.markdown("""
|
| 271 |
-
<div style="display:flex; align-items:center; justify-content:center; height:100%;">
|
| 272 |
<img src="https://huggingface.co/spaces/bukittechnology/tyre/resolve/main/img-logo-BTech.webp"
|
| 273 |
-
style="max-width:120px; height:auto;">
|
| 274 |
</div>
|
| 275 |
""", unsafe_allow_html=True)
|
| 276 |
|
| 277 |
-
|
| 278 |
# ================= SIDEBAR FILTERS =================
|
| 279 |
with st.sidebar:
|
| 280 |
st.markdown("### Filter")
|
|
@@ -1527,14 +1526,16 @@ st.markdown(f"""
|
|
| 1527 |
""", unsafe_allow_html=True)
|
| 1528 |
|
| 1529 |
st.markdown("""
|
| 1530 |
-
<div
|
| 1531 |
text-align: center;
|
| 1532 |
-
padding: 12px 0;
|
| 1533 |
margin-top: 20px;
|
|
|
|
| 1534 |
font-family: Arial, sans-serif;
|
|
|
|
| 1535 |
">
|
| 1536 |
-
<
|
| 1537 |
© 2025 Bukit Technology Digital. All rights reserved.
|
| 1538 |
-
</
|
| 1539 |
</div>
|
| 1540 |
""", unsafe_allow_html=True)
|
|
|
|
| 244 |
|
| 245 |
df = load_data()
|
| 246 |
|
| 247 |
+
col1, col2, col3 = st.columns([1.5, 6, 1.5]) # Increased side column width
|
| 248 |
|
| 249 |
with col1:
|
| 250 |
st.markdown("""
|
| 251 |
+
<div style="display:flex; align-items:center; justify-content:center; height:100%; padding:5px;">
|
| 252 |
<img src="https://huggingface.co/spaces/bukittechnology/tyre/resolve/main/logo.png"
|
| 253 |
+
style="max-width:120px; height:auto; object-fit:contain;">
|
| 254 |
</div>
|
| 255 |
""", unsafe_allow_html=True)
|
| 256 |
|
| 257 |
with col2:
|
| 258 |
st.markdown("""
|
| 259 |
<div style="text-align:center; font-family:Arial, sans-serif; padding:2px 0;">
|
| 260 |
+
<h1 style="color:#154D9C; font-weight:bold; margin:0; line-height:1.3;">
|
| 261 |
+
Tyre Pressure Monitoring System (TPMS) Analytics<br>for Mining Equipments
|
| 262 |
</h1>
|
| 263 |
+
<p style="font-size:12px; color:#7d7d7d; margin:8px 0 0 0;">
|
| 264 |
Daily trend insights derived from 13–16 December 2023 data
|
| 265 |
</p>
|
| 266 |
</div>
|
|
|
|
| 268 |
|
| 269 |
with col3:
|
| 270 |
st.markdown("""
|
| 271 |
+
<div style="display:flex; align-items:center; justify-content:center; height:100%; padding:5px;">
|
| 272 |
<img src="https://huggingface.co/spaces/bukittechnology/tyre/resolve/main/img-logo-BTech.webp"
|
| 273 |
+
style="max-width:120px; height:auto; object-fit:contain;">
|
| 274 |
</div>
|
| 275 |
""", unsafe_allow_html=True)
|
| 276 |
|
|
|
|
| 277 |
# ================= SIDEBAR FILTERS =================
|
| 278 |
with st.sidebar:
|
| 279 |
st.markdown("### Filter")
|
|
|
|
| 1526 |
""", unsafe_allow_html=True)
|
| 1527 |
|
| 1528 |
st.markdown("""
|
| 1529 |
+
<div style="
|
| 1530 |
text-align: center;
|
| 1531 |
+
padding: 12px 0 40px 0;
|
| 1532 |
margin-top: 20px;
|
| 1533 |
+
margin-bottom: 40px;
|
| 1534 |
font-family: Arial, sans-serif;
|
| 1535 |
+
border: none !important;
|
| 1536 |
">
|
| 1537 |
+
<span style="font-size: 10px; color: #7d7d7d;">
|
| 1538 |
© 2025 Bukit Technology Digital. All rights reserved.
|
| 1539 |
+
</span>
|
| 1540 |
</div>
|
| 1541 |
""", unsafe_allow_html=True)
|