Spaces:
Running
Running
Minor fixes
Browse files
app.py
CHANGED
@@ -318,7 +318,7 @@ with gr.Blocks(theme=theme, css_paths="styles.css") as demo:
|
|
318 |
|
319 |
with gr.Row(variant=""):
|
320 |
title_md = gr.Markdown(
|
321 |
-
f"
|
322 |
container=False,
|
323 |
)
|
324 |
lang_selector = gr.Dropdown(
|
|
|
318 |
|
319 |
with gr.Row(variant=""):
|
320 |
title_md = gr.Markdown(
|
321 |
+
f"{LANGUAGE_CONFIG['en']['title']} ",
|
322 |
container=False,
|
323 |
)
|
324 |
lang_selector = gr.Dropdown(
|
lang.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# lang.py
|
2 |
LANGUAGE_CONFIG = {
|
3 |
"en": {
|
4 |
-
"title": "CoT-Lab: Human-AI Co-Thinking Laboratory \nFollow, learn, and iterate the thought within one turn. Consider clone the repo and run with your own API key for better experience.",
|
5 |
"prompt_label": "Task Description - Prompt",
|
6 |
"prompt_placeholder": "Enter your prompt here...",
|
7 |
"editor_label": "Thought Editor",
|
@@ -39,7 +39,7 @@ LANGUAGE_CONFIG = {
|
|
39 |
|
40 |
},
|
41 |
"zh": {
|
42 |
-
"title": "CoT-Lab: 人机协同思维实验室\n在一轮对话中跟随、学习、迭代思维链。克隆Space并使用自己的API KEY可以获得更好的体验。",
|
43 |
"prompt_label": "任务描述 - 提示词",
|
44 |
"prompt_placeholder": "在此输入您的问题...",
|
45 |
"editor_label": "思维编辑器",
|
|
|
1 |
# lang.py
|
2 |
LANGUAGE_CONFIG = {
|
3 |
"en": {
|
4 |
+
"title": "## CoT-Lab: Human-AI Co-Thinking Laboratory \nFollow, learn, and iterate the thought within one turn. Consider clone the repo and run with your own API key for better experience. \n GitHub: https://github.com/Intelligent-Internet/CoT-Lab-Demo",
|
5 |
"prompt_label": "Task Description - Prompt",
|
6 |
"prompt_placeholder": "Enter your prompt here...",
|
7 |
"editor_label": "Thought Editor",
|
|
|
39 |
|
40 |
},
|
41 |
"zh": {
|
42 |
+
"title": "## CoT-Lab: 人机协同思维实验室\n在一轮对话中跟随、学习、迭代思维链。克隆Space并使用自己的API KEY可以获得更好的体验。 \n GitHub: https://github.com/Intelligent-Internet/CoT-Lab-Demo",
|
43 |
"prompt_label": "任务描述 - 提示词",
|
44 |
"prompt_placeholder": "在此输入您的问题...",
|
45 |
"editor_label": "思维编辑器",
|