mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
bugfix
This commit is contained in:
parent
61a46d5484
commit
efff5eee83
4
.gitignore
vendored
4
.gitignore
vendored
@ -184,4 +184,6 @@ shared/*
|
|||||||
|
|
||||||
|
|
||||||
uploads
|
uploads
|
||||||
global_paths_cfg.yaml
|
global_paths_cfg.yaml
|
||||||
|
|
||||||
|
.vscode
|
@ -488,7 +488,7 @@ class LoLLMsAPPI():
|
|||||||
#Create and launch the process
|
#Create and launch the process
|
||||||
self.process = ModelProcess(self.lollms_paths, config)
|
self.process = ModelProcess(self.lollms_paths, config)
|
||||||
self.binding = self.process.rebuild_binding(self.config)
|
self.binding = self.process.rebuild_binding(self.config)
|
||||||
|
|
||||||
# Check model
|
# Check model
|
||||||
if config.model_name is None:
|
if config.model_name is None:
|
||||||
self.menu.select_model()
|
self.menu.select_model()
|
||||||
@ -661,7 +661,7 @@ class LoLLMsAPPI():
|
|||||||
def load_model(self):
|
def load_model(self):
|
||||||
try:
|
try:
|
||||||
print("update_settings : New model selected")
|
print("update_settings : New model selected")
|
||||||
if hasattr(self,"process"):
|
if hasattr(self,"process") and self.process.ready:
|
||||||
result = self.process.set_config(self.config)
|
result = self.process.set_config(self.config)
|
||||||
if result["status"]:
|
if result["status"]:
|
||||||
ASCIIColors.success("OK")
|
ASCIIColors.success("OK")
|
||||||
|
Loading…
Reference in New Issue
Block a user