Spaces:
Runtime error
Runtime error
Commit
•
a1d62c0
1
Parent(s):
3bef9b2
Update app.py
Browse files
app.py
CHANGED
@@ -113,15 +113,6 @@ pipe.set_ip_adapter_scale(0.8)
|
|
113 |
zoe = ZoeDetector.from_pretrained("lllyasviel/Annotators")
|
114 |
zoe.to("cuda")
|
115 |
|
116 |
-
vae = AutoencoderKL.from_pretrained(
|
117 |
-
"madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16
|
118 |
-
)
|
119 |
-
pipe = StableDiffusionXLInstantIDImg2ImgPipeline.from_pretrained(
|
120 |
-
"stabilityai/stable-diffusion-xl-base-1.0",
|
121 |
-
vae=vae,
|
122 |
-
torch_dtype=torch.float16,
|
123 |
-
)
|
124 |
-
|
125 |
original_pipe = copy.deepcopy(pipe)
|
126 |
pipe.to(device)
|
127 |
|
|
|
113 |
zoe = ZoeDetector.from_pretrained("lllyasviel/Annotators")
|
114 |
zoe.to("cuda")
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
original_pipe = copy.deepcopy(pipe)
|
117 |
pipe.to(device)
|
118 |
|