Spaces:
Sleeping
Sleeping
Meet Radadiya commited on
Commit Β·
c4863c5
1
Parent(s): 312f467
Fix: remove duplicate emergency block, clean up pip install in Dockerfile
Browse files- Dockerfile +2 -2
- frontend/components/hospital_map.py +0 -10
Dockerfile
CHANGED
|
@@ -16,8 +16,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 16 |
|
| 17 |
# Install Python dependencies
|
| 18 |
COPY requirements.txt .
|
| 19 |
-
RUN pip install --upgrade pip
|
| 20 |
-
|
| 21 |
|
| 22 |
# Copy project files
|
| 23 |
COPY --chown=user:user . .
|
|
|
|
| 16 |
|
| 17 |
# Install Python dependencies
|
| 18 |
COPY requirements.txt .
|
| 19 |
+
RUN pip install --no-cache-dir --upgrade pip && \
|
| 20 |
+
pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
# Copy project files
|
| 23 |
COPY --chown=user:user . .
|
frontend/components/hospital_map.py
CHANGED
|
@@ -48,13 +48,3 @@ def render_hospital_map(result, selected_city, selected_state):
|
|
| 48 |
emer_html += f"<p>π {label}: <b>{num}</b></p>"
|
| 49 |
emer_html += "</div>"
|
| 50 |
st.markdown(emer_html, unsafe_allow_html=True)
|
| 51 |
-
|
| 52 |
-
st.markdown("")
|
| 53 |
-
|
| 54 |
-
emergency = result.get("emergency_numbers", {})
|
| 55 |
-
if emergency:
|
| 56 |
-
emer_html = '<div class="emergency-card"><h4>π¨ Emergency Contacts</h4>'
|
| 57 |
-
for label, num in emergency.items():
|
| 58 |
-
emer_html += f"<p>π {label}: <b>{num}</b></p>"
|
| 59 |
-
emer_html += "</div>"
|
| 60 |
-
st.markdown(emer_html, unsafe_allow_html=True)
|
|
|
|
| 48 |
emer_html += f"<p>π {label}: <b>{num}</b></p>"
|
| 49 |
emer_html += "</div>"
|
| 50 |
st.markdown(emer_html, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|