Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,4 +81,5 @@ fig.update_layout(
|
|
| 81 |
# Display the treemap and top 5 hospitals
|
| 82 |
st.plotly_chart(fig)
|
| 83 |
st.write('**Top 5 Hospitals in New Jersey**')
|
| 84 |
-
for i, hospital in enumerate(top_hospitals
|
|
|
|
|
|
| 81 |
# Display the treemap and top 5 hospitals
|
| 82 |
st.plotly_chart(fig)
|
| 83 |
st.write('**Top 5 Hospitals in New Jersey**')
|
| 84 |
+
for i, hospital in enumerate(top_hospitals):
|
| 85 |
+
st.write(f"{i+1}. {hospital['name']} - Beds: {hospital['beds']} - Latitude: {hospital['lat']} - Longitude: {hospital['lon']}")
|