Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -304,6 +304,12 @@ with gr.Blocks(theme="shivi/calm_seafoam") as app:
|
|
304 |
<h2 style="color: #2e7d32; font-family: 'Helvetica', sans-serif; text-align: center; font-size: 1.2em;">
|
305 |
π Emotional Support | π§π»ββοΈ Mindfulness | π₯ Nutrition | ποΈ Physical Health | π€ Sleep Hygiene
|
306 |
</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
""")
|
308 |
|
309 |
# Infographics with images
|
@@ -355,6 +361,21 @@ with gr.Blocks(theme="shivi/calm_seafoam") as app:
|
|
355 |
)
|
356 |
|
357 |
with gr.Tab("Disease Prediction"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
symptom1 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 1", value=None)
|
359 |
symptom2 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 2", value=None)
|
360 |
symptom3 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 3", value=None)
|
|
|
304 |
<h2 style="color: #2e7d32; font-family: 'Helvetica', sans-serif; text-align: center; font-size: 1.2em;">
|
305 |
π Emotional Support | π§π»ββοΈ Mindfulness | π₯ Nutrition | ποΈ Physical Health | π€ Sleep Hygiene
|
306 |
</h2>
|
307 |
+
<ul style="text-align: center; color: #2e7d32;">
|
308 |
+
<li><strong>How to Use:</strong></li>
|
309 |
+
<li>π Enter your messages in the input box to chat with our well-being companion.</li>
|
310 |
+
<li>π Share your current location to find nearby health professionals.</li>
|
311 |
+
<li>π Receive emotional support suggestions based on your chat.</li>
|
312 |
+
</ul>
|
313 |
""")
|
314 |
|
315 |
# Infographics with images
|
|
|
361 |
)
|
362 |
|
363 |
with gr.Tab("Disease Prediction"):
|
364 |
+
gr.HTML("""
|
365 |
+
<h1 style="color: #388e3c; font-family: 'Helvetica', sans-serif; text-align: center; font-size: 3.5em; margin-bottom: 0;">
|
366 |
+
Disease Prediction
|
367 |
+
</h1>
|
368 |
+
<p style="color: #4caf50; font-family: 'Helvetica', sans-serif; text-align: center; font-size: 1.5em; margin-top: 0;">
|
369 |
+
Help us understand your symptoms!
|
370 |
+
</p>
|
371 |
+
<ul style="text-align: center; color: #2e7d32;">
|
372 |
+
<li><strong>How to Use:</strong></li>
|
373 |
+
<li>π Select at least 3 symptoms from the dropdown lists.</li>
|
374 |
+
<li>π Click on "Predict Disease" to see potential conditions.</li>
|
375 |
+
<li>π Review the results displayed below!</li>
|
376 |
+
</ul>
|
377 |
+
""")
|
378 |
+
|
379 |
symptom1 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 1", value=None)
|
380 |
symptom2 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 2", value=None)
|
381 |
symptom3 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 3", value=None)
|