This commit is contained in:
Saifeddine ALOUI 2023-06-20 01:29:06 +02:00
parent 61a46d5484
commit efff5eee83
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -185,3 +185,5 @@ shared/*
uploads uploads
global_paths_cfg.yaml global_paths_cfg.yaml
.vscode

View File

@ -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")