cirimus commited on
Commit
9c0b57c
·
verified ·
1 Parent(s): d85f7c1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -61,7 +61,7 @@ text = "Tall people are so clumsy."
61
  predictions = classifier(text)
62
 
63
  # Print predictions
64
- for pred in predictions:
65
  print(f"{pred['label']}: {pred['score']:.3f}")
66
  ```
67
 
 
61
  predictions = classifier(text)
62
 
63
  # Print predictions
64
+ for pred in predictions[0]:
65
  print(f"{pred['label']}: {pred['score']:.3f}")
66
  ```
67