Owos commited on
Commit
5d3dcaa
·
1 Parent(s): 85b4d3c

updated requirements.txt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -200,6 +200,6 @@ if run:
200
  BATCH_SIZE = 1
201
  score = get_sense_score_batched(sentence,tokenizer,model,MLM_MASK_TOKEN,MLM_UNK_TOKEN,BATCH_SIZE)
202
  scores[model_id] = score
203
- my_bar.progress(index + 1)
204
  scores = sort_dictionary(scores)
205
  st.write("Our recommendation is:", scores)
 
200
  BATCH_SIZE = 1
201
  score = get_sense_score_batched(sentence,tokenizer,model,MLM_MASK_TOKEN,MLM_UNK_TOKEN,BATCH_SIZE)
202
  scores[model_id] = score
203
+ my_bar.progress(index + 100/len(selected_models))
204
  scores = sort_dictionary(scores)
205
  st.write("Our recommendation is:", scores)