aboutsummaryrefslogtreecommitdiffstats
path: root/modules/lowvram.py
diff options
context:
space:
mode:
authorAlex "mcmonkey" Goodwin <git_commits@alexgoodwin.dev>2023-03-12 19:33:29 +0000
committerAlex "mcmonkey" Goodwin <git_commits@alexgoodwin.dev>2023-03-12 19:33:29 +0000
commit48df6d66ea627a1c538aba4d37d9141798fff4d7 (patch)
tree1b25204aa5a0e213128e0099f2c3e674f53ea6c8 /modules/lowvram.py
parenta71b7b5ec09a24e8a9bb3385e32862da905af6f1 (diff)
downloadstable-diffusion-webui-gfx803-48df6d66ea627a1c538aba4d37d9141798fff4d7.tar.gz
stable-diffusion-webui-gfx803-48df6d66ea627a1c538aba4d37d9141798fff4d7.tar.bz2
stable-diffusion-webui-gfx803-48df6d66ea627a1c538aba4d37d9141798fff4d7.zip
add safety check in case of short extensions
so eg if a two-letter or empty extension is used, `.txt` would break, this `max` call protects that.
Diffstat (limited to 'modules/lowvram.py')
0 files changed, 0 insertions, 0 deletions