The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Add error handling to initial fix to keep cache intact
TFWol1dab412c79ec
diff --git a/folder_paths.py b/folder_paths.pyindex 4abed783b..ef9b8ccfa 100644--- a/folder_paths.py+++ b/folder_paths.py@@ -139,6 +139,13 @@ def recursive_search(directory, excluded_dir_names=None):result = []dirs = {}++ # Attempt to add the initial directory to dirs with error handling+ try:+ dirs[directory] = os.path.getmtime(directory)+ except FileNotFoundError:+ print(f"Warning: Unable to access {directory}. Skipping this path.")+for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True):subdirs[:] = [d for d in subdirs if d not in excluded_dir_names]for file_name in filenames: