Commit
·
1cfaf5b
1
Parent(s):
de31505
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ def main():
|
|
143 |
st.write("This app can be used to examine both model prediction for a masked position as well as the neighborhood of CLS vector")
|
144 |
st.write(" - To examine model prediction for a position, enter the token [MASK] or <mask>")
|
145 |
st.write(" - To examine just the [CLS] vector, enter a word/phrase or sentence. Example: eGFR or EGFR or non small cell lung cancer")
|
146 |
-
st.sidebar.slider("Select
|
147 |
|
148 |
|
149 |
try:
|
|
|
143 |
st.write("This app can be used to examine both model prediction for a masked position as well as the neighborhood of CLS vector")
|
144 |
st.write(" - To examine model prediction for a position, enter the token [MASK] or <mask>")
|
145 |
st.write(" - To examine just the [CLS] vector, enter a word/phrase or sentence. Example: eGFR or EGFR or non small cell lung cancer")
|
146 |
+
st.sidebar.slider("Select count of predictions to display", 1 , 50, 20,key='my_slider',on_change=on_results_count_change) #some times it is possible to have less words
|
147 |
|
148 |
|
149 |
try:
|