Reggie commited on
Commit
9f2ac50
1 Parent(s): b11da2d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -35,6 +35,7 @@ You'll need to pip install transformers & maybe sentencepiece
35
  ### How to use
36
  ```python
37
  from transformers import pipeline
 
38
  device = 0 if torch.cuda.is_available() else -1
39
  model_name = 'Reggie/muppet-roberta-base-joke_detector'
40
  max_seq_len = 510
 
35
  ### How to use
36
  ```python
37
  from transformers import pipeline
38
+ import torch
39
  device = 0 if torch.cuda.is_available() else -1
40
  model_name = 'Reggie/muppet-roberta-base-joke_detector'
41
  max_seq_len = 510