From baaa6ef18a46ffde41fadfe3faa4c3048367123f Mon Sep 17 00:00:00 2001 From: Johannes Stelzer Date: Thu, 12 Jan 2023 20:48:57 +0100 Subject: [PATCH] fix --- gradio_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradio_ui.py b/gradio_ui.py index 034dde9..7a5bfc4 100644 --- a/gradio_ui.py +++ b/gradio_ui.py @@ -253,9 +253,9 @@ class BlendingFrontend(): if __name__ == "__main__": fp_ckpt = "../stable_diffusion_models/ckpt/v2-1_512-ema-pruned.ckpt" - # sdh = StableDiffusionHolder(fp_ckpt) + sdh = StableDiffusionHolder(fp_ckpt) - self = BlendingFrontend(None) + self = BlendingFrontend(sdh) with gr.Blocks() as demo: