Spaces:
Build error
Build error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -9,7 +9,7 @@ with open("src/X_model","rb") as f:
|
|
| 9 |
X_model = joblib.load(f)
|
| 10 |
|
| 11 |
|
| 12 |
-
st.title(":
|
| 13 |
|
| 14 |
bedrooms = st.number_input("Bedroom : ",min_value=1,max_value=10,step=1)
|
| 15 |
bathrooms = st.number_input("Bathroom : ",min_value=1.0,max_value=10.0,step=0.5)
|
|
@@ -21,4 +21,4 @@ if st.button("Estimate"):
|
|
| 21 |
model_input=X_model.transform(model_inputs)
|
| 22 |
prediction = model.predict(model_input)
|
| 23 |
formatted_price = round(prediction[0],2)
|
| 24 |
-
st.
|
|
|
|
| 9 |
X_model = joblib.load(f)
|
| 10 |
|
| 11 |
|
| 12 |
+
st.title(":green[HOUSE] PRICE QUOTATION(USA) :house:")
|
| 13 |
|
| 14 |
bedrooms = st.number_input("Bedroom : ",min_value=1,max_value=10,step=1)
|
| 15 |
bathrooms = st.number_input("Bathroom : ",min_value=1.0,max_value=10.0,step=0.5)
|
|
|
|
| 21 |
model_input=X_model.transform(model_inputs)
|
| 22 |
prediction = model.predict(model_input)
|
| 23 |
formatted_price = round(prediction[0],2)
|
| 24 |
+
st.success(f"Quoted_Price : ${formatted_price}")
|