kishorevasudevanit commited on
Commit
1efc814
·
verified ·
1 Parent(s): ad424de

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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(":red[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,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.write(f"Quoted_Price : ${formatted_price}")
 
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}")