upgraded verbosity

This commit is contained in:
Saifeddine ALOUI 2024-01-24 20:34:23 +01:00
parent 164239936f
commit c05e7a371b
5 changed files with 8 additions and 5 deletions

1
app.py
View File

@ -61,6 +61,7 @@ if __name__ == "__main__":
LOLLMSWebUI.build_instance(config=config, lollms_paths=lollms_paths, args=args, sio=sio)
lollmsElfServer:LOLLMSWebUI = LOLLMSWebUI.get_instance()
lollmsElfServer.verbose = True
# Import all endpoints
from lollms.server.endpoints.lollms_binding_files_server import router as lollms_binding_files_server_router
from lollms.server.endpoints.lollms_infos import router as lollms_infos_router

@ -1 +1 @@
Subproject commit f4e5aa3d7af0cd20f3af69fa1fae16bbe0342f2f
Subproject commit a1ffac42b6ffee31bf0f48ba886138b64fa0207a

View File

@ -996,9 +996,11 @@ class LOLLMSWebUI(LOLLMSElfServer):
duration:int=4,
client_id=None,
display_type:NotificationDisplayType=NotificationDisplayType.TOAST,
verbose=True,
verbose:bool|None=None,
):
if verbose is None:
verbose = self.verbose
run_async(partial(self.sio.emit,'notification', {
'content': content,# self.connections[client_id]["generated_text"],
'notification_type': notification_type.value,

@ -1 +1 @@
Subproject commit b7b482048596e28e0a751eb8ae899f2259f0cb2b
Subproject commit ba561ee5d6e56abd6b459922b6f7316cffdabf31

@ -1 +1 @@
Subproject commit f84c2c06b2d9c796e994df8d25bba009635c0c83
Subproject commit b1ebc569ad7199991d501b77c3f3ccc9c3caa2ae