Spaces:
Running
Running
Update app.py html
Browse files
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 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
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 |
-
|
167 |
-
|
168 |
-
|
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
|