Add input + output to seed_assets calls

This commit is contained in:
Jedrzej Kosinski
2026-01-24 03:50:42 -08:00
parent aea55cad99
commit ce9fe98de9
2 changed files with 2 additions and 2 deletions

View File

@@ -326,7 +326,7 @@ def setup_database():
if dependencies_available():
init_db()
if not args.disable_assets_autoscan:
seed_assets(["models"], enable_logging=True)
seed_assets(["models", "input", "output"], enable_logging=True)
except Exception as e:
logging.error(f"Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: {e}")

View File

@@ -689,7 +689,7 @@ class PromptServer():
@routes.get("/object_info")
async def get_object_info(request):
try:
seed_assets(["models"])
seed_assets(["models", "input", "output"])
except Exception as e:
logging.error(f"Failed to seed assets: {e}")
with folder_paths.cache_helper: