lysandre HF staff commited on
Commit
cf81dc1
1 Parent(s): 79111db

Update README.md

Browse files

Co-authored-by: david-waterworth

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -32,5 +32,5 @@ predictions = torch.round((torch.sign(discriminator_outputs[0]) + 1) / 2)
32
 
33
  [print("%7s" % token, end="") for token in fake_tokens]
34
 
35
- [print("%7s" % int(prediction), end="") for prediction in predictions.tolist()]
36
  ```
 
32
 
33
  [print("%7s" % token, end="") for token in fake_tokens]
34
 
35
+ [print("%7s" % int(prediction), end="") for prediction in predictions.squeeze().tolist()]
36
  ```