Allow the application name to be configurable in settings (#80)
* Make app name configurable * Use app name in browser tab
This commit is contained in:
@@ -9,7 +9,7 @@ class ChatPanel(BasePage):
|
||||
|
||||
def on_building_ui(self):
|
||||
self.chatbot = gr.Chatbot(
|
||||
label="Kotaemon",
|
||||
label=self._app.app_name,
|
||||
placeholder=(
|
||||
"This is the beginning of a new conversation.\nMake sure to have added"
|
||||
" a LLM by following the instructions in the Help tab."
|
||||
|
@@ -31,7 +31,7 @@ class LoginPage(BasePage):
|
||||
self.on_building_ui()
|
||||
|
||||
def on_building_ui(self):
|
||||
gr.Markdown("# Welcome to Kotaemon")
|
||||
gr.Markdown(f"# Welcome to {self._app.app_name}!")
|
||||
self.usn = gr.Textbox(label="Username", visible=False)
|
||||
self.pwd = gr.Textbox(label="Password", type="password", visible=False)
|
||||
self.btn_login = gr.Button("Login", visible=False)
|
||||
|
Reference in New Issue
Block a user