Spaces:
Runtime error
Runtime error
update config (#6)
Browse files- update (0589f9a5cce5ee88fb3b5f7b5e157e77ba559c7a)
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=
|
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():
|