Cyrile commited on
Commit
4da5764
1 Parent(s): 0896581

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -64,7 +64,7 @@ from transformers import pipeline
64
 
65
  guardrail = pipeline("text-classification", "cmarkea/bloomz-560m-guardrail")
66
 
67
- list_text = [...]
68
  result = guardrail(
69
  list_text,
70
  return_all_scores=True, # Crucial for assessing all modalities of toxicity!
 
64
 
65
  guardrail = pipeline("text-classification", "cmarkea/bloomz-560m-guardrail")
66
 
67
+ list_text: List[str] = [...]
68
  result = guardrail(
69
  list_text,
70
  return_all_scores=True, # Crucial for assessing all modalities of toxicity!