progs2002 commited on
Commit
b40a379
·
1 Parent(s): 2844144

changed default value for k slider

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ with col1:
52
 
53
  with col2:
54
  top_p = st.slider('p', 0.0, 1.0, 0.95, 0.1)
55
- top_k = st.slider('k', 1, 100, 1, 5)
56
 
57
  if st.button("Generate"):
58
  with st.spinner("Generating text..."):
 
52
 
53
  with col2:
54
  top_p = st.slider('p', 0.0, 1.0, 0.95, 0.1)
55
+ top_k = st.slider('k', 1, 100, 2, 5)
56
 
57
  if st.button("Generate"):
58
  with st.spinner("Generating text..."):