Spaces:
Sleeping
Sleeping
Commit
·
54578cc
1
Parent(s):
747ee92
Update app.py
Browse files
app.py
CHANGED
@@ -129,8 +129,11 @@ def predict_unrolled_value(user_data):
|
|
129 |
# make the prediction using the loaded model and input data
|
130 |
predicted_unrolled_value = model.predict(user_data)
|
131 |
|
132 |
-
# return the predict_unrolled_value as output
|
133 |
-
return predicted_unrolled_value[0]
|
|
|
|
|
|
|
134 |
|
135 |
|
136 |
# Function calling
|
|
|
129 |
# make the prediction using the loaded model and input data
|
130 |
predicted_unrolled_value = model.predict(user_data)
|
131 |
|
132 |
+
# # return the predict_unrolled_value as output
|
133 |
+
# return predicted_unrolled_value[0]
|
134 |
+
|
135 |
+
# return the predicted unrolled value as output with 6 decimal places
|
136 |
+
return round(float(predicted_unrolled_value[0]), 6)
|
137 |
|
138 |
|
139 |
# Function calling
|