sitammeur commited on
Commit
eb5edf8
β€’
1 Parent(s): e6e8258

Update app.py html

Browse files
Files changed (1) hide show
  1. app.py +22 -22
app.py CHANGED
@@ -66,25 +66,25 @@ Your role as a medical chatbot is to provide valuable insights and recommendatio
66
  """
67
 
68
  # HTML Content for the Interface
69
- # TITLE = """<h1 align="center">Well Being πŸ’¬</h1>"""
70
- # SUBTITLE = """<h2 align="center">End Preventable Child Deaths: Join the Global Effort to Save Children's Lives!</h2>"""
71
- # DUPLICATE = """
72
- # <div
73
- # style="
74
- # text-align: center;
75
- # display: flex;
76
- # justify-content: center;
77
- # align-items: center;
78
- # "
79
- # >
80
- # <p>
81
- # We aim to reduce child mortality globally. πŸ‘ΆπŸ» Our goals are under-5
82
- # mortality of ≀25 per 1,000 live births πŸ“‰ and neonatal mortality of ≀12 per
83
- # 1,000. πŸ“‰ This requires preventing newborn and early childhood deaths
84
- # worldwide. ✊ Together, we can give every child a healthy start to life! 🌍
85
- # </p>
86
- # </div>
87
- # """
88
 
89
 
90
  # Image to Base 64 Converter Function
@@ -163,9 +163,9 @@ def llm_response(history, text, img):
163
  with gr.Blocks(theme=gr.themes.Soft()) as app:
164
 
165
  # Add HTML Content
166
- # gr.HTML(TITLE)
167
- # gr.HTML(SUBTITLE)
168
- # gr.HTML(DUPLICATE)
169
 
170
  with gr.Row():
171
  # Image UI
 
66
  """
67
 
68
  # HTML Content for the Interface
69
+ TITLE = """<h1 align="center">Well Being πŸ’¬</h1>"""
70
+ SUBTITLE = """<h2 align="center">End Preventable Child Deaths: Join the Global Effort to Save Children's Lives!</h2>"""
71
+ DESCRIPTION = """
72
+ <div
73
+ style="
74
+ text-align: center;
75
+ display: flex;
76
+ justify-content: center;
77
+ align-items: center;
78
+ "
79
+ >
80
+ <p>
81
+ We aim to reduce child mortality globally. πŸ‘ΆπŸ» Our goals are under-5
82
+ mortality of ≀25 per 1,000 live births πŸ“‰ and neonatal mortality of ≀12 per
83
+ 1,000. πŸ“‰ This requires preventing newborn and early childhood deaths
84
+ worldwide. ✊ Together, we can give every child a healthy start to life! 🌍
85
+ </p>
86
+ </div>
87
+ """
88
 
89
 
90
  # Image to Base 64 Converter Function
 
163
  with gr.Blocks(theme=gr.themes.Soft()) as app:
164
 
165
  # Add HTML Content
166
+ gr.HTML(TITLE)
167
+ gr.HTML(SUBTITLE)
168
+ gr.HTML(DESCRIPTION)
169
 
170
  with gr.Row():
171
  # Image UI