Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ if st.button("Predict"):
|
|
36 |
#predictions_np = np.array(predictions)
|
37 |
|
38 |
# Scale the predictions
|
39 |
-
scaled_scores = 2.25 *
|
40 |
rounded_scores = [round(score * 2) / 2 for score in scaled_scores] # Round to nearest 0.5
|
41 |
|
42 |
# Display the predictions
|
|
|
36 |
#predictions_np = np.array(predictions)
|
37 |
|
38 |
# Scale the predictions
|
39 |
+
scaled_scores = 2.25 * predicted_scores - 1.25
|
40 |
rounded_scores = [round(score * 2) / 2 for score in scaled_scores] # Round to nearest 0.5
|
41 |
|
42 |
# Display the predictions
|