mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
Merge branch 'main' into lollms-patchy2
This commit is contained in:
commit
83543ac04c
2
app.py
2
app.py
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user