mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 04:37:54 +00:00
enhanced ui
This commit is contained in:
parent
10edf07e3c
commit
367111bab7
@ -165,7 +165,6 @@ def select_rag_database(client) -> Optional[Dict[str, Path]]:
|
|||||||
print(f"Failed to add document {fn}: {e}")
|
print(f"Failed to add document {fn}: {e}")
|
||||||
if vdb.new_data: #New files are added, need reindexing
|
if vdb.new_data: #New files are added, need reindexing
|
||||||
lollmsElfServer.ShowBlockingMessage(f"Adding a new database.\nIndexing the database...")
|
lollmsElfServer.ShowBlockingMessage(f"Adding a new database.\nIndexing the database...")
|
||||||
ASCIIColors.blue("Indexing database ...", end="", flush=True)
|
|
||||||
vdb.build_index()
|
vdb.build_index()
|
||||||
ASCIIColors.success("OK")
|
ASCIIColors.success("OK")
|
||||||
lollmsElfServer.HideBlockingMessage()
|
lollmsElfServer.HideBlockingMessage()
|
||||||
|
Loading…
Reference in New Issue
Block a user