paranox commited on
Commit
7561fbd
·
verified ·
1 Parent(s): b72c637

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +46 -9
app.py CHANGED
@@ -819,6 +819,45 @@ st.markdown("""
819
 
820
  # HERO SECTION
821
  st.markdown("""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
822
  <div class="hero-section">
823
  <div class="hero-badge">
824
  <span>⚡</span>
@@ -826,17 +865,14 @@ st.markdown("""
826
  </div>
827
 
828
  <h1 class="hero-title">
829
- <span class="hero-title-line1">Next-Generation</span>
830
- <span class="hero-title-line2">Traffic Intelligence</span>
831
  </h1>
832
 
833
- <!-- Center wrapper -->
834
- <div style="text-align: center;">
835
- <p class="hero-subtitle">
836
- Revolutionizing urban mobility with cutting-edge AI. Real-time vehicle detection,
837
- adaptive signal optimization, and <strong style="color: #ff0844;">intelligent emergency vehicle prioritization</strong> powered by YOLOv8 & CNN.
838
- </p>
839
- </div>
840
 
841
  <div>
842
  <span class="tech-pill">🤖 YOLOv8 Detection</span>
@@ -849,6 +885,7 @@ st.markdown("""
849
  """, unsafe_allow_html=True)
850
 
851
 
 
852
  # STATISTICS GRID
853
  st.markdown("""
854
  <div class="stats-grid">
 
819
 
820
  # HERO SECTION
821
  st.markdown("""
822
+ <style>
823
+ .hero-section {
824
+ text-align: center;
825
+ padding: 20px 0;
826
+ }
827
+ .hero-badge {
828
+ display: inline-flex;
829
+ align-items: center;
830
+ gap: 6px;
831
+ background: #ff0844;
832
+ padding: 6px 14px;
833
+ border-radius: 20px;
834
+ color: white;
835
+ font-weight: 600;
836
+ margin-bottom: 10px;
837
+ font-size: 14px;
838
+ }
839
+ .hero-title {
840
+ font-size: 40px;
841
+ font-weight: 800;
842
+ line-height: 1.1;
843
+ margin-bottom: 10px;
844
+ }
845
+ .hero-subtitle {
846
+ font-size: 17px;
847
+ max-width: 700px;
848
+ margin: 0 auto;
849
+ }
850
+ .tech-pill {
851
+ display: inline-block;
852
+ background: #f1f1f1;
853
+ padding: 6px 14px;
854
+ margin: 6px;
855
+ border-radius: 18px;
856
+ font-weight: 600;
857
+ font-size: 14px;
858
+ }
859
+ </style>
860
+
861
  <div class="hero-section">
862
  <div class="hero-badge">
863
  <span>⚡</span>
 
865
  </div>
866
 
867
  <h1 class="hero-title">
868
+ <span>Next-Generation</span><br>
869
+ <span>Traffic Intelligence</span>
870
  </h1>
871
 
872
+ <p class="hero-subtitle">
873
+ Revolutionizing urban mobility with cutting-edge AI. Real-time vehicle detection,
874
+ adaptive signal optimization, and <strong style="color: #ff0844;">intelligent emergency vehicle prioritization</strong> powered by YOLOv8 & CNN.
875
+ </p>
 
 
 
876
 
877
  <div>
878
  <span class="tech-pill">🤖 YOLOv8 Detection</span>
 
885
  """, unsafe_allow_html=True)
886
 
887
 
888
+
889
  # STATISTICS GRID
890
  st.markdown("""
891
  <div class="stats-grid">