Skip to content

Commit

Permalink
updated content
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitesh committed Oct 25, 2023
1 parent 404e8a0 commit 7267959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_classify_text(self):
with open("../models/spam_model.pkl", "rb") as f:
model = pickle.load(f)

self.assertEqual(classify_text("You've won a prize!", model), "Spam") #It will pass text if come spam then pass
self.assertEqual(classify_text("You've won a prize !", model), "Spam") #It will pass text if come spam then pass
self.assertEqual(classify_text("Hello, how are you?", model), "Not Spam")

if __name__ == "__main__":
Expand Down

0 comments on commit 7267959

Please sign in to comment.