Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ def evaluate_model_with_report(val_loader):
|
|
| 87 |
|
| 88 |
# Print classification report
|
| 89 |
print("\nClassification Report:")
|
| 90 |
-
print(classification_report(y_true, y_pred, target_names=["Ham", "Spam"])
|
| 91 |
|
| 92 |
return accuracy
|
| 93 |
|
|
|
|
| 87 |
|
| 88 |
# Print classification report
|
| 89 |
print("\nClassification Report:")
|
| 90 |
+
print(classification_report(y_true, y_pred, target_names=["Ham", "Spam"]))
|
| 91 |
|
| 92 |
return accuracy
|
| 93 |
|