mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
change minimax defaults
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -244,6 +244,10 @@ def process_images(p: StableDiffusionProcessing) -> Processed | None:
|
||||
if k == 'sd_vae':
|
||||
sd_vae.reload_vae_weights()
|
||||
timer.process.record('post')
|
||||
|
||||
if os.environ.get('SD_UNLOAD_MODEL', None) is not None:
|
||||
sd_models.unload_model_weights()
|
||||
|
||||
return results
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user