leygit commited on
Commit
5c1249e
·
verified ·
1 Parent(s): 627d021

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -86,8 +86,6 @@ def classify_email(email_text):
86
  result = "Spam" if predictions.item() == 1 else "Ham"
87
  return result, f"{confidence:.2f}%"
88
 
89
- }
90
-
91
  # Evaluation function with detailed classification report
92
  def evaluate_model_with_report(val_loader):
93
  model.eval() # Set model to evaluation mode
 
86
  result = "Spam" if predictions.item() == 1 else "Ham"
87
  return result, f"{confidence:.2f}%"
88
 
 
 
89
  # Evaluation function with detailed classification report
90
  def evaluate_model_with_report(val_loader):
91
  model.eval() # Set model to evaluation mode