Update README.md
Browse files
README.md
CHANGED
@@ -52,6 +52,9 @@ text_classifier = TextClassificationPipeline(
|
|
52 |
return_all_scores=True
|
53 |
)
|
54 |
|
|
|
|
|
|
|
55 |
preds_list = text_classifier(text)
|
56 |
best_pred = preds_list[0]
|
57 |
print(f"Label of Best Intentatioin: {preds_list['label']}")
|
|
|
52 |
return_all_scores=True
|
53 |
)
|
54 |
|
55 |
+
# predict
|
56 |
+
text = "your text"
|
57 |
+
|
58 |
preds_list = text_classifier(text)
|
59 |
best_pred = preds_list[0]
|
60 |
print(f"Label of Best Intentatioin: {preds_list['label']}")
|