Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,16 @@ with col1:
|
|
101 |
|
102 |
# Display the map in the second column
|
103 |
with col2:
|
104 |
-
st.subheader('Map')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
if city == 'Seattle':
|
106 |
map_data = pd.DataFrame({
|
107 |
'latitude': [47.6097, 47.6205, 47.6762],
|
@@ -325,12 +334,4 @@ with col2:
|
|
325 |
|
326 |
st.map(map_data)
|
327 |
|
328 |
-
# Placeholder for displaying the predicted price at the top
|
329 |
-
price_placeholder = st.empty()
|
330 |
|
331 |
-
# Display the predicted price at the top of the app
|
332 |
-
# price_placeholder.write(f"Predicted Price: ${predicted_price[0][0]:,.2f}")
|
333 |
-
price_placeholder.markdown(
|
334 |
-
f"<h1 style='font-size: 24px;'>Predicted Price: ${predicted_price[0][0]:,.2f}</h1>",
|
335 |
-
unsafe_allow_html=True
|
336 |
-
)
|
|
|
101 |
|
102 |
# Display the map in the second column
|
103 |
with col2:
|
104 |
+
# st.subheader('Map')
|
105 |
+
# Placeholder for displaying the predicted price at the top
|
106 |
+
price_placeholder = st.empty()
|
107 |
+
|
108 |
+
# Display the predicted price at the top of the app
|
109 |
+
# price_placeholder.write(f"Predicted Price: ${predicted_price[0][0]:,.2f}")
|
110 |
+
price_placeholder.markdown(
|
111 |
+
f"<h1 style='font-size: 24px;'>Predicted Price: ${predicted_price[0][0]:,.2f}</h1>",
|
112 |
+
unsafe_allow_html=True
|
113 |
+
)
|
114 |
if city == 'Seattle':
|
115 |
map_data = pd.DataFrame({
|
116 |
'latitude': [47.6097, 47.6205, 47.6762],
|
|
|
334 |
|
335 |
st.map(map_data)
|
336 |
|
|
|
|
|
337 |
|
|
|
|
|
|
|
|
|
|
|
|