mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 03:01:15 +00:00
Gradio 4 + WebUI 1.10
This commit is contained in:
@@ -81,6 +81,9 @@ class ModelPatcher:
|
||||
def set_model_vae_decode_wrapper(self, wrapper_function):
|
||||
self.model_options["model_vae_decode_wrapper"] = wrapper_function
|
||||
|
||||
def set_model_vae_regulation(self, vae_regulation):
|
||||
self.model_options["model_vae_regulation"] = vae_regulation
|
||||
|
||||
def set_model_patch(self, patch, name):
|
||||
to = self.model_options["transformer_options"]
|
||||
if "patches" not in to:
|
||||
|
||||
Reference in New Issue
Block a user