allenchienxxx commited on
Commit
5e8c25d
1 Parent(s): 45c29f4

Update analze.py

Browse files
Files changed (1) hide show
  1. analze.py +0 -1
analze.py CHANGED
@@ -86,7 +86,6 @@ def get_features(file):
86
 
87
  def predict_content(content):
88
  content_clf = load("save_models/SVM_finalcontent.pkl")
89
- print(content['text'])
90
  predict = content_clf.predict(preprocess_content(content))
91
  return "Legitimate" if predict[0]=='ham' else "Phishing"
92
 
 
86
 
87
  def predict_content(content):
88
  content_clf = load("save_models/SVM_finalcontent.pkl")
 
89
  predict = content_clf.predict(preprocess_content(content))
90
  return "Legitimate" if predict[0]=='ham' else "Phishing"
91