AbhayVG commited on
Commit
a04790c
·
verified ·
1 Parent(s): 42ceddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -10
app.py CHANGED
@@ -578,31 +578,35 @@ st.markdown("""
578
  <div style='
579
  display: flex;
580
  align-items: center;
581
- justify-content: center;
582
- padding: 0.5rem 0;
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: 40px;' />
 
589
  <h1 style='
590
  margin: 0;
591
- font-size: 1.8rem;
592
  font-weight: 700;
593
  color: #1f2937;
594
- line-height: 70px;
 
595
  '>VayuChat</h1>
 
596
  <span style='
597
- font-size: 0.9rem;
598
  color: #6b7280;
599
- line-height: 40px;
600
  font-weight: 500;
601
- '>AI Air Quality Analysis • Sustainability Lab, IIT Gandhinagar</span>
 
 
 
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():