EliottZemour commited on
Commit
2a2e9cb
1 Parent(s): 9df4338
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -58,6 +58,7 @@ def generate_reviews(stars, useful, funny, cool):
58
  scores = []
59
  for review in out:
60
  reviews.append(postprocess(tokenizer.decode(review, skip_special_tokens=True)))
 
61
  scores.append(
62
  correlation_score(text[17:], review)
63
  )
 
58
  scores = []
59
  for review in out:
60
  reviews.append(postprocess(tokenizer.decode(review, skip_special_tokens=True)))
61
+ for review in reviews:
62
  scores.append(
63
  correlation_score(text[17:], review)
64
  )