Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -155,11 +155,11 @@ def render_sidebar_gpt_config_tab(zone):
|
|
| 155 |
value=2000,
|
| 156 |
step=1,
|
| 157 |
min_value=100,
|
| 158 |
-
max_value=
|
| 159 |
help="The maximum number of tokens to generate in the completion",
|
| 160 |
)
|
| 161 |
st.session_state["params"]["stream"] = zone.checkbox(
|
| 162 |
-
"
|
| 163 |
value=True,
|
| 164 |
help="If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message",
|
| 165 |
)
|
|
|
|
| 155 |
value=2000,
|
| 156 |
step=1,
|
| 157 |
min_value=100,
|
| 158 |
+
max_value=2000,
|
| 159 |
help="The maximum number of tokens to generate in the completion",
|
| 160 |
)
|
| 161 |
st.session_state["params"]["stream"] = zone.checkbox(
|
| 162 |
+
"Streaming output",
|
| 163 |
value=True,
|
| 164 |
help="If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message",
|
| 165 |
)
|