AMead10 commited on
Commit
6604630
·
1 Parent(s): 2aa7929
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -47,7 +47,9 @@ def classify_email(constituent_email):
47
  global potential_labels
48
  potential_labels = get_potential_labels()
49
 
 
50
  model_out = classifier_model(constituent_email, potential_labels, multi_label=True)
 
51
  top_labels = [
52
  label
53
  for label, score in zip(model_out["labels"], model_out["scores"])
 
47
  global potential_labels
48
  potential_labels = get_potential_labels()
49
 
50
+ print("classifying email")
51
  model_out = classifier_model(constituent_email, potential_labels, multi_label=True)
52
+ print("classification complete")
53
  top_labels = [
54
  label
55
  for label, score in zip(model_out["labels"], model_out["scores"])