hongaik commited on
Commit
5a72afb
·
1 Parent(s): 66fdb15

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -146,7 +146,7 @@ with st.form("inputs"):
146
  # use geosubset to have boxplot and folium map
147
 
148
  if len(geosubset) > 0:
149
- st.markdown('There are ' + str(len(geosubset)) + ' resale ' + input_propertyType + 's transacted between Jan 2017 and Oct 2022 which are similar to yours (drag the markers around as they might be overlapping):')
150
 
151
  map = folium.Map(location=[1.290270, 103.851959], zoom_start=11)
152
 
@@ -188,7 +188,7 @@ with st.form("inputs"):
188
  st.pyplot(fig)
189
 
190
  else:
191
- st.markdown('Oops! There are no resale ' + input_propertyType + 's transacted between Jan 2017 and Oct 2022 which are similar to yours :(')
192
 
193
  # Get folium visualisations
194
  temp_mrt = latlong_geo.geometry.apply(lambda x: geo_mrt.distance(x)).melt().drop(columns=['variable'])
 
146
  # use geosubset to have boxplot and folium map
147
 
148
  if len(geosubset) > 0:
149
+ st.markdown('There are ' + str(len(geosubset)) + ' resale ' + input_propertyType + 's transacted between Jan 2017 and Oct 2022 in your area which are similar to yours (drag the markers around as they might be overlapping):')
150
 
151
  map = folium.Map(location=[1.290270, 103.851959], zoom_start=11)
152
 
 
188
  st.pyplot(fig)
189
 
190
  else:
191
+ st.markdown('Oops! There are no resale ' + input_propertyType + 's transacted between Jan 2017 and Oct 2022 in your area which are similar to yours :(')
192
 
193
  # Get folium visualisations
194
  temp_mrt = latlong_geo.geometry.apply(lambda x: geo_mrt.distance(x)).melt().drop(columns=['variable'])