aneesqumar commited on
Commit
5d2eafa
·
verified ·
1 Parent(s): 07d6c11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -408,6 +408,10 @@ with gr.Blocks(
408
  .center-header {
409
  text-align: center;
410
  }
 
 
 
 
411
 
412
  .instruction-text {
413
  text-align: center;
@@ -452,12 +456,13 @@ with gr.Blocks(
452
  <h4 style="color:#00695c;">Team Chinar AI (AJK)</h4>
453
  </div>
454
  """)'''
 
455
  # ---- CENTERED LOGO + HEADER ----
456
  with gr.Row():
457
- with gr.Column(scale=1):
458
- gr.HTML("""
 
459
  <div style="text-align:center;">
460
- <img src="logo1.png" width="300">
461
  <h1 style="color:#0d47a1; margin-top:15px;">🏥 TyphoidGuard AI</h1>
462
  <h4 style="color:#37474f; margin:5px 0;">HEC Generative AI Hackathon – Pakistan</h4>
463
  <h4 style="color:#00695c; margin:5px 0;">Team Chinar AI (AJK)</h4>
 
408
  .center-header {
409
  text-align: center;
410
  }
411
+
412
+ #header-center {
413
+ text-align: center;
414
+ }
415
 
416
  .instruction-text {
417
  text-align: center;
 
456
  <h4 style="color:#00695c;">Team Chinar AI (AJK)</h4>
457
  </div>
458
  """)'''
459
+
460
  # ---- CENTERED LOGO + HEADER ----
461
  with gr.Row():
462
+ with gr.Column(scale=1, elem_id="header-center"):
463
+ gr.Image(LOGO_PATH, width=300, show_label=False)
464
+ gr.Markdown("""
465
  <div style="text-align:center;">
 
466
  <h1 style="color:#0d47a1; margin-top:15px;">🏥 TyphoidGuard AI</h1>
467
  <h4 style="color:#37474f; margin:5px 0;">HEC Generative AI Hackathon – Pakistan</h4>
468
  <h4 style="color:#00695c; margin:5px 0;">Team Chinar AI (AJK)</h4>