Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,8 @@ if st.button("Predict"):
|
|
| 30 |
# Convert to numpy array if necessary
|
| 31 |
predicted_scores = predictions.numpy()
|
| 32 |
|
| 33 |
-
# Apply a significant uniform reduction (e.g., reduce by
|
| 34 |
-
reduction_factor = 0.
|
| 35 |
adjusted_scores = predicted_scores * reduction_factor
|
| 36 |
|
| 37 |
# Ensure scores do not go below zero
|
|
|
|
| 30 |
# Convert to numpy array if necessary
|
| 31 |
predicted_scores = predictions.numpy()
|
| 32 |
|
| 33 |
+
# Apply a significant uniform reduction (e.g., reduce by 70%)
|
| 34 |
+
reduction_factor = 0.3 # Reduce scores by 70%
|
| 35 |
adjusted_scores = predicted_scores * reduction_factor
|
| 36 |
|
| 37 |
# Ensure scores do not go below zero
|