BlinkDL commited on
Commit
0886a44
1 Parent(s): f0fb04d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -73,6 +73,8 @@ def evaluate(
73
  if token in args.token_stop:
74
  break
75
  all_tokens += [token]
 
 
76
  if token not in occurrence:
77
  occurrence[token] = 1
78
  else:
 
73
  if token in args.token_stop:
74
  break
75
  all_tokens += [token]
76
+ for xxx in occurrence:
77
+ occurrence[xxx] *= 0.996
78
  if token not in occurrence:
79
  occurrence[token] = 1
80
  else: