Skip to content

Commit

Permalink
紧急修复 温度 参数代码消失问题 (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
zRzRzRzRzRzRzR committed Oct 20, 2023
1 parent 115a123 commit 38a48bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webui_pages/dialogue/dialogue.py
Expand Up @@ -151,6 +151,7 @@ def prompt_change():
key="prompt_template_select",
)
prompt_template_name = st.session_state.prompt_template_select
temperature = st.slider("Temperature:", 0.0, 1.0, TEMPERATURE, 0.05)
history_len = st.number_input("历史对话轮数:", 0, 20, HISTORY_LEN)

def on_kb_change():
Expand Down

0 comments on commit 38a48bc

Please sign in to comment.