Copycats commited on
Commit
b5d9fe8
1 Parent(s): ffaf9e2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -0
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']}")