diff options
author | Chris OBryan <13701027+cobryan05@users.noreply.github.com> | 2022-10-28 21:11:16 +0000 |
---|---|---|
committer | Chris OBryan <13701027+cobryan05@users.noreply.github.com> | 2022-10-28 21:14:21 +0000 |
commit | 1f1b327959b546b5e6f995905a1699c5fe4a0c35 (patch) | |
tree | d11af8b01a05319f4cc2b6480c3b1263b9ed4b7a /modules/codeformer_model.py | |
parent | bde4731f1d3ddf30c46f86c9f6e71e6c0644089d (diff) | |
download | stable-diffusion-webui-gfx803-1f1b327959b546b5e6f995905a1699c5fe4a0c35.tar.gz stable-diffusion-webui-gfx803-1f1b327959b546b5e6f995905a1699c5fe4a0c35.tar.bz2 stable-diffusion-webui-gfx803-1f1b327959b546b5e6f995905a1699c5fe4a0c35.zip |
extras: Make image cache LRU
This changes the extras image cache into a Least-Recently-Used
cache. This allows more experimentation with different upscalers
without missing the cache.
Max cache size is increased to 5 and is cleared on source image
update.
Diffstat (limited to 'modules/codeformer_model.py')
0 files changed, 0 insertions, 0 deletions