Chenyuwen commited on
Commit
9c9c3cc
1 Parent(s): fcddff9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ with st.expander("配置"):
147
  n = st.slider('n', 1, 5, default_n)
148
  max_tokens = st.slider('max tokens', 4, 512, default_tokens)
149
 
150
- if st.checkbox("使用换行符作为截断", value=True):
151
  stop_tokens = "\n"
152
 
153
  def completion():
 
147
  n = st.slider('n', 1, 5, default_n)
148
  max_tokens = st.slider('max tokens', 4, 512, default_tokens)
149
 
150
+ if st.checkbox("使用换行符作为截断", value=False):
151
  stop_tokens = "\n"
152
 
153
  def completion():