mirror of
https://github.com/Cinnamon/kotaemon.git
synced 2026-02-23 19:49:37 +01:00
fix: UI enhancement
This commit is contained in:
@@ -21,7 +21,7 @@ from theflow.settings import settings as flowsettings
|
||||
|
||||
from ...utils.commands import WEB_SEARCH_COMMAND
|
||||
|
||||
DOWNLOAD_MESSAGE = "Press again to download"
|
||||
DOWNLOAD_MESSAGE = "Start download"
|
||||
MAX_FILENAME_LENGTH = 20
|
||||
|
||||
chat_input_focus_js = """
|
||||
@@ -203,7 +203,7 @@ class FileIndexPage(BasePage):
|
||||
with gr.Row():
|
||||
self.download_all_button = gr.DownloadButton(
|
||||
"Download all files",
|
||||
visible=True,
|
||||
visible=False,
|
||||
)
|
||||
self.delete_all_button = gr.Button(
|
||||
"Delete all files",
|
||||
|
||||
@@ -12,7 +12,8 @@ class ChatPanel(BasePage):
|
||||
label=self._app.app_name,
|
||||
placeholder=(
|
||||
"This is the beginning of a new conversation.\n"
|
||||
"Start by uploading a file or web URL(s)"
|
||||
"Start by uploading a file or a web URL. "
|
||||
"Visit Files tab for more options (e.g: GraphRAG)."
|
||||
),
|
||||
show_label=False,
|
||||
elem_id="main-chat-bot",
|
||||
|
||||
Reference in New Issue
Block a user