From 6c241815244179941c835b69ab37ba62d0d39173 Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Tue, 19 Mar 2024 07:19:13 +0800 Subject: [PATCH] update --- 开源模型 ChatGLM/ChatGLM.py | 2 +- 开源模型 InternLM/InternLM.py | 2 +- 开源模型 Qwen/Qwen.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/开源模型 ChatGLM/ChatGLM.py b/开源模型 ChatGLM/ChatGLM.py index 5e80c98..c4ced01 100644 --- a/开源模型 ChatGLM/ChatGLM.py +++ b/开源模型 ChatGLM/ChatGLM.py @@ -56,7 +56,7 @@ with st.sidebar: def reset_parameter(): st.session_state['top_p_session'] = 0.8 st.session_state['temperature_session'] = 0.8 - reset_parameter_button = st.button('重置参数', on_click=reset_parameter) + reset_parameter_button = st.button('重置', on_click=reset_parameter) prompt = st.chat_input("在这里输入您的命令") diff --git a/开源模型 InternLM/InternLM.py b/开源模型 InternLM/InternLM.py index 617e5a3..155c8c8 100644 --- a/开源模型 InternLM/InternLM.py +++ b/开源模型 InternLM/InternLM.py @@ -32,7 +32,7 @@ with st.sidebar: def reset_parameter(): st.session_state['top_p_session'] = 0.8 st.session_state['temperature_session'] = 0.8 - reset_parameter_button = st.button('重置参数', on_click=reset_parameter) + reset_parameter_button = st.button('重置', on_click=reset_parameter) prompt = st.chat_input("在这里输入您的命令") diff --git a/开源模型 Qwen/Qwen.py b/开源模型 Qwen/Qwen.py index c6566ed..41eb3bc 100644 --- a/开源模型 Qwen/Qwen.py +++ b/开源模型 Qwen/Qwen.py @@ -47,7 +47,7 @@ with st.sidebar: def reset_parameter(): st.session_state['top_p_session'] = 0.8 st.session_state['temperature_session'] = 0.8 - reset_parameter_button = st.button('重置参数', on_click=reset_parameter) + reset_parameter_button = st.button('重置', on_click=reset_parameter) prompt = st.chat_input("在这里输入您的命令")