DreamStream-1 commited on
Commit
e53b9a4
Β·
verified Β·
1 Parent(s): a64515b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -0
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)