Maciel commited on
Commit
14e96ee
1 Parent(s): 4eda87a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -48,7 +48,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
48
  model.to(device)
49
 
50
  def correct(text, max_length):
51
- model_inputs = tokenizer(text,
52
  max_length=max_length,
53
  truncation=True,
54
  return_tensors="pt").to(device)
 
48
  model.to(device)
49
 
50
  def correct(text, max_length):
51
+ model_inputs = tokenizer(text,
52
  max_length=max_length,
53
  truncation=True,
54
  return_tensors="pt").to(device)