KevSun commited on
Commit
4a88dfa
·
verified ·
1 Parent(s): af7d153

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 * predictions_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
 
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