fxcb commited on
Commit
ff846f4
1 Parent(s): 38356d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,6 +9,6 @@ model.eval()
9
  pipeline = FillMaskPipeline(model, tokenizer_hf)
10
  text = f"Em dic <mask>."
11
  res_hf = pipeline(text)
12
- pprint([r['token_str'] for r in res_hf])
13
 
14
- st.write(text)
 
9
  pipeline = FillMaskPipeline(model, tokenizer_hf)
10
  text = f"Em dic <mask>."
11
  res_hf = pipeline(text)
12
+ res = ([r['token_str'] for r in res_hf])
13
 
14
+ st.write(res)