diff --git a/__main__.py b/__main__.py index 2766085..eba428e 100644 --- a/__main__.py +++ b/__main__.py @@ -203,7 +203,7 @@ class ChatBot(ChatBotFrame): def draw_setting_chat(self): switch_model = get_conf('switch_model')[0] - with gr.Tab('Setting'): + with gr.Tab('Settings'): self.top_p = gr.Slider(minimum=-0, maximum=1.0, value=1.0, step=0.01, interactive=True, label="Top-p (nucleus sampling)", ).style(container=False) self.temperature = gr.Slider(minimum=-0, maximum=2.0, value=1.0, step=0.01, interactive=True, diff --git a/toolbox.py b/toolbox.py index fceff38..5181b42 100644 --- a/toolbox.py +++ b/toolbox.py @@ -77,9 +77,9 @@ def ArgsGeneralWrapper(f): chatbot[0] = [f'隐私模式, 你的对话记录无法被他人检索

\n{private_key}\n{ipaddr.client.host}\n

', None] else: if chatbot == []: - chatbot.append(['正常对话模式, 你接来下的对话将会被记录并且可以被所有人检索', None]) + chatbot.append(['正常对话模式, 你接来下的对话将会被记录并且可以被所有人检索,你可以到Settings中选择隐私模式', None]) else: - chatbot[0] = ['正常对话模式, 你接下来的对话将会被记录并且可以被所有人检索', None] + chatbot[0] = ['正常对话模式, 你接来下的对话将会被记录并且可以被所有人检索,你可以到Settings中选择隐私模式', None] chatbot_with_cookie = ChatBotWithCookies(cookies) chatbot_with_cookie.write_list(chatbot) txt_passon = txt