sanjayw commited on
Commit
81f1eee
·
1 Parent(s): 67cc902

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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']}")