Commit
·
7b4983b
1
Parent(s):
ef996f6
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def zero_shot(doc, candidates):
|
|
| 42 |
given_labels = candidates.split(",")
|
| 43 |
given_labels = list(map(str.strip, given_labels))
|
| 44 |
doc = preprocess(doc)
|
| 45 |
-
doc = get_google_description(doc)
|
| 46 |
print(doc)
|
| 47 |
dictionary = classifier(doc, given_labels)
|
| 48 |
labels = dictionary['labels']
|
|
|
|
| 42 |
given_labels = candidates.split(",")
|
| 43 |
given_labels = list(map(str.strip, given_labels))
|
| 44 |
doc = preprocess(doc)
|
| 45 |
+
# doc = get_google_description(doc)
|
| 46 |
print(doc)
|
| 47 |
dictionary = classifier(doc, given_labels)
|
| 48 |
labels = dictionary['labels']
|