ibrahim yıldız commited on
Commit
47c94f0
·
verified ·
1 Parent(s): 430620a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -268,8 +268,7 @@ if gb_model is not None:
268
 
269
  # Predict the house price
270
  prediction = gb_model.predict(input_df_encoded)
271
-
272
- predicted_price = round(prediction[0])
273
- inflation_price = predicted_price * 1.5
274
 
275
- st.header(f"Predicted House Price is 💲{inflation_price}")
 
268
 
269
  # Predict the house price
270
  prediction = gb_model.predict(input_df_encoded)
271
+ inflation_price = prediction * 1.5
272
+ predicted_price = round(inflation_price[0])
 
273
 
274
+ st.header(f"Predicted House Price is 💲{predicted_price}")