mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
Update lollms_apps.py
This commit is contained in:
parent
0108aef7bd
commit
4e066068c1
@ -93,6 +93,7 @@ async def list_apps():
|
||||
else:
|
||||
remote_apps = []
|
||||
for app_name in apps_zoo_path.iterdir():
|
||||
try:
|
||||
if app_name.is_dir():
|
||||
icon_path = app_name / "icon.png"
|
||||
description_path = app_name / "description.yaml"
|
||||
@ -157,6 +158,8 @@ async def list_apps():
|
||||
has_update=has_update,
|
||||
installed=installed
|
||||
))
|
||||
except Exception as ex:
|
||||
trace_exception(ex)
|
||||
|
||||
return apps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user