Skip to content

Commit

Permalink
Change API key placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
neurogen-dev committed Nov 11, 2023
1 parent 901defb commit 18aafaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"openai_api_key": "",
"purgpt_api_key": "",
"daku_api_key": "",
"chatty_api_key": "",
"usage_limit": 999,
"language": "ru_RU",
"users": [],
Expand Down
2 changes: 1 addition & 1 deletion webui_en.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions webui_ru.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 18aafaa

Please sign in to comment.