Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,12 +64,12 @@ with col1:
|
|
| 64 |
predicted_price = model.predict(new_pred)
|
| 65 |
|
| 66 |
with col2:
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
map_data = pd.DataFrame(cities_geo[city])
|
| 75 |
st.map(map_data, zoom=11)
|
|
|
|
| 64 |
predicted_price = model.predict(new_pred)
|
| 65 |
|
| 66 |
with col2:
|
| 67 |
+
# Placeholder for displaying the predicted price at the top
|
| 68 |
+
price_placeholder = st.empty()
|
| 69 |
+
price_placeholder.markdown(
|
| 70 |
+
f"<h1 style='font-size: 24px;'>Predicted Price: ${predicted_price[0][0]:,.2f}</h1>",
|
| 71 |
+
unsafe_allow_html=True)
|
| 72 |
+
|
| 73 |
+
with st.container(height=500, border=False):
|
| 74 |
map_data = pd.DataFrame(cities_geo[city])
|
| 75 |
st.map(map_data, zoom=11)
|