mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-28 19:23:14 +01:00
Fix a bug where the vae wouldn't be unloaded in webui
This commit is contained in:
parent
3327244da2
commit
d6adb17746
@ -137,7 +137,9 @@ def load_model(context, model_type, **kwargs):
|
||||
|
||||
|
||||
def unload_model(context, model_type, **kwargs):
|
||||
pass
|
||||
if model_type == "vae":
|
||||
context.model_paths[model_type] = None
|
||||
load_model(context, model_type)
|
||||
|
||||
|
||||
def generate_images(
|
||||
|
Loading…
Reference in New Issue
Block a user