mbahrami commited on
Commit
70c19cc
·
1 Parent(s): 5879cf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,10 +1,11 @@
 
1
  import streamlit as st
2
 
3
  from transformers import pipeline
4
 
5
  @st.cache(allow_output_mutation=True)
6
  def get_model(model):
7
- return pipeline("fill-mask", model=model)
8
 
9
 
10
 
 
1
+
2
  import streamlit as st
3
 
4
  from transformers import pipeline
5
 
6
  @st.cache(allow_output_mutation=True)
7
  def get_model(model):
8
+ return pipeline("fill-mask", model=model, top_k=100)
9
 
10
 
11