Update app.py
Browse files
app.py
CHANGED
@@ -200,7 +200,7 @@ classifier = pipeline("zero-shot-classification")
|
|
200 |
text = "This is a tutorial about Hugging Face."
|
201 |
candidate_labels = ["tech", "education", "business"]
|
202 |
|
203 |
-
def topic_sale_inform (text)
|
204 |
res = classifier(text, candidate_labels)
|
205 |
print (res)
|
206 |
return res
|
|
|
200 |
text = "This is a tutorial about Hugging Face."
|
201 |
candidate_labels = ["tech", "education", "business"]
|
202 |
|
203 |
+
def topic_sale_inform (text):
|
204 |
res = classifier(text, candidate_labels)
|
205 |
print (res)
|
206 |
return res
|