Skip to content

Commit a0944fa

Browse files
author
harry
committed
optimize UI and user experience
1 parent b2f8c35 commit a0944fa

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

webui/Main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ def tr(key):
143143
return loc.get("Translation", {}).get(key, key)
144144

145145

146+
st.write(tr("Get Help"))
147+
146148
with st.expander(tr("Basic Settings"), expanded=False):
147149
config_panels = st.columns(3)
148150
left_config_panel = config_panels[0]
@@ -184,7 +186,6 @@ def tr(key):
184186
llm_provider = st.selectbox(tr("LLM Provider"), options=llm_providers, index=saved_llm_provider_index)
185187
llm_provider = llm_provider.lower()
186188
config.app["llm_provider"] = llm_provider
187-
st.write(f"**{tr('LLM Provider')}:** {llm_provider}")
188189

189190
llm_api_key = config.app.get(f"{llm_provider}_api_key", "")
190191
llm_base_url = config.app.get(f"{llm_provider}_base_url", "")

webui/i18n/de.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"Base Url": "Base Url",
5858
"Model Name": "Model Name",
5959
"Please Enter the LLM API Key": "Please Enter the **LLM API Key**",
60-
"Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**"
60+
"Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**",
61+
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc/moneyprinterturbo"
6162
}
6263
}

webui/i18n/en.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"Base Url": "Base Url",
5858
"Model Name": "Model Name",
5959
"Please Enter the LLM API Key": "Please Enter the **LLM API Key**",
60-
"Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**"
60+
"Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**",
61+
"Get Help": "If you need help, or have any questions, you can join discord for help: https://harryai.cc/moneyprinterturbo"
6162
}
6263
}

webui/i18n/zh.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"Base Url": "Base Url (可选)",
5858
"Model Name": "模型名称 (:blue[需要到大模型提供商的后台确认被授权的模型名称])",
5959
"Please Enter the LLM API Key": "请先填写大模型 **API Key**",
60-
"Please Enter the Pexels API Key": "请先填写 **Pexels API Key**"
60+
"Please Enter the Pexels API Key": "请先填写 **Pexels API Key**",
61+
"Get Help": "有任何问题或建议,可以加入 **微信群** 求助或讨论:https://harryai.cc/moneyprinterturbo"
6162
}
6263
}

0 commit comments

Comments
 (0)