增加文案优化

This commit is contained in:
w_xiaolizu
2023-05-22 11:58:42 +08:00
parent 9f871deb4d
commit 7a8b50102d
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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