Skip to content

Commit 38a48bc

Browse files
紧急修复 温度 参数代码消失问题 (#1816)
1 parent 115a123 commit 38a48bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webui_pages/dialogue/dialogue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def prompt_change():
151151
key="prompt_template_select",
152152
)
153153
prompt_template_name = st.session_state.prompt_template_select
154+
temperature = st.slider("Temperature:", 0.0, 1.0, TEMPERATURE, 0.05)
154155
history_len = st.number_input("历史对话轮数:", 0, 20, HISTORY_LEN)
155156

156157
def on_kb_change():

0 commit comments

Comments
 (0)