abhisheky127
commited on
Commit
•
01166ba
1
Parent(s):
bc3c411
logging preprocess
Browse files
app.py
CHANGED
@@ -13,6 +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 |
dictionary = classifier(doc, given_labels)
|
17 |
labels = dictionary['labels']
|
18 |
scores = dictionary['scores']
|
|
|
13 |
given_labels = candidates.split(",")
|
14 |
given_labels = list(map(str.strip, given_labels))
|
15 |
doc = preprocess(doc)
|
16 |
+
print(doc)
|
17 |
dictionary = classifier(doc, given_labels)
|
18 |
labels = dictionary['labels']
|
19 |
scores = dictionary['scores']
|