mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
little update
This commit is contained in:
parent
261fd38e2e
commit
26ef478582
2
app.py
2
app.py
@ -149,6 +149,7 @@ def check_update(branch_name="main"):
|
||||
local_commit = repo.head.commit
|
||||
remote_commit = repo.remotes.origin.refs[branch_name].commit
|
||||
|
||||
ASCIIColors.yellow(f"update availability: {local_commit != remote_commit}")
|
||||
# Return True if there are updates, False otherwise
|
||||
return local_commit != remote_commit
|
||||
except Exception as e:
|
||||
@ -797,6 +798,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
||||
self.binding = BindingBuilder().build_binding(self.config, self.lollms_paths)
|
||||
self.model = None
|
||||
self.config.save_config()
|
||||
ASCIIColors.green("Model loaded successfully")
|
||||
except Exception as ex:
|
||||
ASCIIColors.error(f"Couldn't build binding: [{ex}]")
|
||||
trace_exception(ex)
|
||||
|
Loading…
Reference in New Issue
Block a user