EliottZemour commited on
Commit
c88b60d
1 Parent(s): bd89db0

skip special tokens

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def generate_reviews(stars, useful, funny, cool):
31
  )
32
  reviews = []
33
  for review in out:
34
- reviews.append(postprocess(tokenizer.decode(review)))#, skip_special_tokens=True)))
35
 
36
  return reviews[0], reviews[1], reviews[2]
37
 
 
31
  )
32
  reviews = []
33
  for review in out:
34
+ reviews.append(postprocess(tokenizer.decode(review, skip_special_tokens=True)))
35
 
36
  return reviews[0], reviews[1], reviews[2]
37