Merge branch 'main' into lollms-patchy2

This commit is contained in:
andzejsp 2023-06-22 22:48:46 +03:00
commit 83543ac04c

2
app.py
View File

@ -612,6 +612,8 @@ class LoLLMsWebUI(LoLLMsAPPI):
bnd = load_config(card)
bnd["folder"]=f.stem
icon_path = Path(f"bindings/{f.name}/logo.png")
installed = (self.lollms_paths.personal_configuration_path/f"binding_{f.stem}.yaml").exists()
bnd["installed"]=installed
if Path(self.lollms_paths.bindings_zoo_path/f"{f.name}/logo.png").exists():
bnd["icon"]=str(icon_path)