Skip to content

Commit

Permalink
fix pip not defined error (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: david <[email protected]>
  • Loading branch information
efwfe and david authored Mar 21, 2024
1 parent 7436bab commit 9fe1be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def update_sd_model(self, sd_model):
self.sd_model = sd_model
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse", torch_dtype=torch.float16)
self.pipe = StableDiffusionPipeline.from_pretrained(sd_model, vae=vae, torch_dtype=torch.float16)
self.pipe.scheduler = DDPMScheduler.from_config(pipe.scheduler.config)
self.pipe.scheduler = DDPMScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to("cuda")
self.frescoProc = apply_FRESCO_attn(self.pipe)
self.frescoProc.controller.disable_controller()
Expand Down

0 comments on commit 9fe1be7

Please sign in to comment.