Gallai commited on
Commit
4775123
·
verified ·
1 Parent(s): c832be8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def predictPrice(input1, input2, input3, input4, input5, input6, input7, input8)
14
  features = np.array([[input1, input2, input3, input4, input5, input6, input7, input8]])
15
  features_scaled = scaler.transform(features)
16
  prediction = KNN_Regressor.predict(features_scaled)
17
- return prediction.item()
18
 
19
 
20
  ## Buidling inputs and outputs:
 
14
  features = np.array([[input1, input2, input3, input4, input5, input6, input7, input8]])
15
  features_scaled = scaler.transform(features)
16
  prediction = KNN_Regressor.predict(features_scaled)
17
+ return round(prediction.item(), 2)
18
 
19
 
20
  ## Buidling inputs and outputs: