From 18aafaac22ab2cfed56399d715e5c7e719a962a2 Mon Sep 17 00:00:00 2001 From: Roman S Date: Sun, 12 Nov 2023 02:18:14 +0800 Subject: [PATCH] Change API key placeholder --- config.json | 3 --- webui_en.py | 2 +- webui_ru.py | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index 1f26d52..a207867 100644 --- a/config.json +++ b/config.json @@ -1,8 +1,5 @@ { "openai_api_key": "", - "purgpt_api_key": "", - "daku_api_key": "", - "chatty_api_key": "", "usage_limit": 999, "language": "ru_RU", "users": [], diff --git a/webui_en.py b/webui_en.py index 532ab49..4deb3c0 100644 --- a/webui_en.py +++ b/webui_en.py @@ -50,7 +50,7 @@ def create_new_model(): with gr.Row(equal_height=True): with gr.Column(scale=5): with gr.Row(): - chatbot = gr.Chatbot(label="Chuanhu Chat", elem_id="chuanhu_chatbot", latex_delimiters=latex_delimiters_set, height=700) + chatbot = gr.Chatbot(label="NeuroGPT Chat", elem_id="chuanhu_chatbot", latex_delimiters=latex_delimiters_set, height=700) with gr.Row(): with gr.Column(min_width=225, scale=12): user_input = gr.Textbox( diff --git a/webui_ru.py b/webui_ru.py index 593e6a7..a40a75e 100644 --- a/webui_ru.py +++ b/webui_ru.py @@ -50,7 +50,7 @@ def create_new_model(): with gr.Row(equal_height=True): with gr.Column(scale=5): with gr.Row(): - chatbot = gr.Chatbot(label="Chuanhu Chat", elem_id="chuanhu_chatbot", latex_delimiters=latex_delimiters_set, height=600) + chatbot = gr.Chatbot(label="NeuroGPT Chat", elem_id="chuanhu_chatbot", latex_delimiters=latex_delimiters_set, height=600) with gr.Row(): with gr.Column(min_width=225, scale=12): user_input = gr.Textbox( @@ -83,7 +83,7 @@ def create_new_model(): placeholder="Ваш API-ключ...", value=hide_middle_chars(user_api_key.value), type="password", - label="API Ключ (при использовании альтернативного API провайдера)", + label="API ключ", visible=True ) if multi_api_key: