abhisheky127 commited on
Commit
3cedfb4
1 Parent(s): 620ca5b

removing typo

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -13,8 +13,7 @@ def zero_shot(doc, candidates):
13
  given_labels = candidates.split(",")
14
  given_labels = list(map(str.strip, given_labels))
15
  doc = preprocess(doc)
16
- print(doc)
17
- dictionary = classifier(preprocess(doc), given_labels)
18
  labels = dictionary['labels']
19
  scores = dictionary['scores']
20
  return dict(zip(labels, scores))
 
13
  given_labels = candidates.split(",")
14
  given_labels = list(map(str.strip, given_labels))
15
  doc = preprocess(doc)
16
+ dictionary = classifier(doc, given_labels)
 
17
  labels = dictionary['labels']
18
  scores = dictionary['scores']
19
  return dict(zip(labels, scores))