stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Gracefully handle mtime read exception from cache

Open catboxanon opened this issue 1 year ago • 0 comments

Description

When a file's mtime is attempted to be read from the cache, but the resultant file does not actually exist (in the case of a symlink), currently this causes the entire Checkpoints/LoRA/etc UI to be forced into Gradio's error state. This fixes that by handling the exception here.

Checklist:

catboxanon avatar Feb 15 '24 18:02 catboxanon