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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -51
app.py CHANGED
@@ -157,11 +157,12 @@ st.markdown("""
157
  }
158
 
159
  .hero-subtitle {
160
- font-size: 1.25rem;
161
- color: var(--text-secondary);
162
- max-width: 800px;
163
- margin: 0 auto 2rem;
164
- line-height: 1.7;
 
165
  }
166
 
167
  .tech-pill {
@@ -819,61 +820,19 @@ st.markdown("""
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>
864
  <span>TEAM SOURCE CODE</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>
879
  <span class="tech-pill">⚡ Deep Learning</span>
@@ -884,8 +843,6 @@ st.markdown("""
884
  </div>
885
  """, unsafe_allow_html=True)
886
 
887
-
888
-
889
  # STATISTICS GRID
890
  st.markdown("""
891
  <div class="stats-grid">
 
157
  }
158
 
159
  .hero-subtitle {
160
+ text-align: center !important;
161
+ margin-left: auto !important;
162
+ margin-right: auto !important;
163
+ display: block !important;
164
+ width: fit-content !important;
165
+ max-width: 700px;
166
  }
167
 
168
  .tech-pill {
 
820
 
821
  # HERO SECTION
822
  st.markdown("""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
823
  <div class="hero-section">
824
  <div class="hero-badge">
825
  <span>⚡</span>
826
  <span>TEAM SOURCE CODE</span>
827
  </div>
 
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
  <p class="hero-subtitle">
833
  Revolutionizing urban mobility with cutting-edge AI. Real-time vehicle detection,
834
  adaptive signal optimization, and <strong style="color: #ff0844;">intelligent emergency vehicle prioritization</strong> powered by YOLOv8 & CNN.
835
  </p>
 
836
  <div>
837
  <span class="tech-pill">🤖 YOLOv8 Detection</span>
838
  <span class="tech-pill">⚡ Deep Learning</span>
 
843
  </div>
844
  """, unsafe_allow_html=True)
845
 
 
 
846
  # STATISTICS GRID
847
  st.markdown("""
848
  <div class="stats-grid">