Spaces:
Running
Running
yonishafir
commited on
Commit
•
491d967
1
Parent(s):
e06413e
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ controlnet.controlnet_cond_embedding = ControlNetConditioningEmbedding(
|
|
86 |
conditioning_channels = 5
|
87 |
)
|
88 |
|
89 |
-
controlnet = ControlNetModel().from_pretrained("briaai/DEV-ControlNetInpaintingFast", torch_dtype=torch.float16)
|
90 |
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
91 |
pipe = StableDiffusionXLControlNetPipeline.from_pretrained("briaai/BRIA-2.3", controlnet=controlnet.to(dtype=torch.float16), torch_dtype=torch.float16, vae=vae) #force_zeros_for_empty_prompt=False, # vae=vae)
|
92 |
|
|
|
86 |
conditioning_channels = 5
|
87 |
)
|
88 |
|
89 |
+
# controlnet = ControlNetModel().from_pretrained("briaai/DEV-ControlNetInpaintingFast", torch_dtype=torch.float16)
|
90 |
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
91 |
pipe = StableDiffusionXLControlNetPipeline.from_pretrained("briaai/BRIA-2.3", controlnet=controlnet.to(dtype=torch.float16), torch_dtype=torch.float16, vae=vae) #force_zeros_for_empty_prompt=False, # vae=vae)
|
92 |
|