pedrogengo commited on
Commit
b47a39c
·
verified ·
1 Parent(s): a4442f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -234,7 +234,7 @@ def get_results(tokenizer_name, base_lang, comp_lang):
234
 
235
  agg_base = np.array(base_results).mean()
236
  agg_comp = np.array(comp_results).mean()
237
- token_ratio = (v / baseline)
238
 
239
  if token_ratio < 1.:
240
  adverb = "less"
 
234
 
235
  agg_base = np.array(base_results).mean()
236
  agg_comp = np.array(comp_results).mean()
237
+ token_ratio = (agg_comp / agg_base)
238
 
239
  if token_ratio < 1.:
240
  adverb = "less"