Update server.py

This commit is contained in:
kornesh 2025-03-24 17:25:13 +08:00 committed by GitHub
parent 581a9991ff
commit 2094b59e09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -584,6 +584,7 @@ class PromptServer():
@routes.get("/object_info") @routes.get("/object_info")
async def get_object_info(request): async def get_object_info(request):
folder_paths.cache_helper.clear()
with folder_paths.cache_helper: with folder_paths.cache_helper:
out = {} out = {}
for x in nodes.NODE_CLASS_MAPPINGS: for x in nodes.NODE_CLASS_MAPPINGS: