Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -200,7 +200,7 @@ def get_health_professionals_and_map(location, query):
|
|
200 |
try:
|
201 |
if not location or not query:
|
202 |
return [], "" # Return empty list if inputs are missing
|
203 |
-
|
204 |
geo_location = gmaps.geocode(location)
|
205 |
if geo_location:
|
206 |
lat, lng = geo_location[0]["geometry"]["location"].values()
|
@@ -305,7 +305,6 @@ with gr.Blocks(theme="shivi/calm_seafoam") as app:
|
|
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>
|
@@ -369,7 +368,6 @@ with gr.Blocks(theme="shivi/calm_seafoam") as app:
|
|
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>
|
|
|
200 |
try:
|
201 |
if not location or not query:
|
202 |
return [], "" # Return empty list if inputs are missing
|
203 |
+
|
204 |
geo_location = gmaps.geocode(location)
|
205 |
if geo_location:
|
206 |
lat, lng = geo_location[0]["geometry"]["location"].values()
|
|
|
305 |
π Emotional Support | π§π»ββοΈ Mindfulness | π₯ Nutrition | ποΈ Physical Health | π€ Sleep Hygiene
|
306 |
</h2>
|
307 |
<ul style="text-align: center; color: #2e7d32;">
|
|
|
308 |
<li>π Enter your messages in the input box to chat with our well-being companion.</li>
|
309 |
<li>π Share your current location to find nearby health professionals.</li>
|
310 |
<li>π Receive emotional support suggestions based on your chat.</li>
|
|
|
368 |
Help us understand your symptoms!
|
369 |
</p>
|
370 |
<ul style="text-align: center; color: #2e7d32;">
|
|
|
371 |
<li>π Select at least 3 symptoms from the dropdown lists.</li>
|
372 |
<li>π Click on "Predict Disease" to see potential conditions.</li>
|
373 |
<li>π Review the results displayed below!</li>
|