Update app.py
Browse files
app.py
CHANGED
@@ -578,31 +578,35 @@ st.markdown("""
|
|
578 |
<div style='
|
579 |
display: flex;
|
580 |
align-items: center;
|
581 |
-
justify-content:
|
582 |
-
padding: 0.5rem
|
583 |
-
gap: 15px;
|
584 |
border-bottom: 1px solid #e5e7eb;
|
585 |
margin-bottom: 1rem;
|
|
|
586 |
'>
|
587 |
<img src='https://sustainability-lab.github.io/images/logo_light.svg'
|
588 |
-
style='height:
|
|
|
589 |
<h1 style='
|
590 |
margin: 0;
|
591 |
-
font-size:
|
592 |
font-weight: 700;
|
593 |
color: #1f2937;
|
594 |
-
|
|
|
595 |
'>VayuChat</h1>
|
|
|
596 |
<span style='
|
597 |
-
font-size:
|
598 |
color: #6b7280;
|
599 |
-
line-height: 40px;
|
600 |
font-weight: 500;
|
601 |
-
|
|
|
|
|
|
|
602 |
</div>
|
603 |
""", unsafe_allow_html=True)
|
604 |
|
605 |
-
|
606 |
# Load data with caching for better performance
|
607 |
@st.cache_data
|
608 |
def load_data():
|
|
|
578 |
<div style='
|
579 |
display: flex;
|
580 |
align-items: center;
|
581 |
+
justify-content: space-between;
|
582 |
+
padding: 0.5rem 1rem;
|
|
|
583 |
border-bottom: 1px solid #e5e7eb;
|
584 |
margin-bottom: 1rem;
|
585 |
+
width: 100%;
|
586 |
'>
|
587 |
<img src='https://sustainability-lab.github.io/images/logo_light.svg'
|
588 |
+
style='height: 50px; flex-shrink: 0;' />
|
589 |
+
|
590 |
<h1 style='
|
591 |
margin: 0;
|
592 |
+
font-size: 2rem;
|
593 |
font-weight: 700;
|
594 |
color: #1f2937;
|
595 |
+
text-align: center;
|
596 |
+
flex-grow: 1;
|
597 |
'>VayuChat</h1>
|
598 |
+
|
599 |
<span style='
|
600 |
+
font-size: 1rem;
|
601 |
color: #6b7280;
|
|
|
602 |
font-weight: 500;
|
603 |
+
text-align: right;
|
604 |
+
flex-shrink: 0;
|
605 |
+
white-space: nowrap;
|
606 |
+
'>AI Air Quality Analysis<br/>Sustainability Lab, IIT Gandhinagar</span>
|
607 |
</div>
|
608 |
""", unsafe_allow_html=True)
|
609 |
|
|
|
610 |
# Load data with caching for better performance
|
611 |
@st.cache_data
|
612 |
def load_data():
|