增加文案优化
This commit is contained in:
@ -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,
|
||||
|
||||
@ -77,9 +77,9 @@ def ArgsGeneralWrapper(f):
|
||||
chatbot[0] = [f'隐私模式, 你的对话记录无法被他人检索 <p style="display:none;">\n{private_key}\n{ipaddr.client.host}\n</p>', 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
|
||||
|
||||
Reference in New Issue
Block a user