Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
|
|
11 |
text = st.text_input("Enter word or key-phrase")
|
12 |
exclude_text = st.radio("exclude_text",[True,False])
|
13 |
exclude_words = st.radio("exclude_words",[True,False])
|
14 |
-
k = st.number_input("Top k nearest key-phrases",
|
15 |
|
16 |
with open("kp_dict_merged.pickle",'rb') as handle:
|
17 |
kp_dict = pickle.load(handle)
|
|
|
11 |
text = st.text_input("Enter word or key-phrase")
|
12 |
exclude_text = st.radio("exclude_text",[True,False])
|
13 |
exclude_words = st.radio("exclude_words",[True,False])
|
14 |
+
k = st.number_input("Top k nearest key-phrases",5,10)
|
15 |
|
16 |
with open("kp_dict_merged.pickle",'rb') as handle:
|
17 |
kp_dict = pickle.load(handle)
|