Spaces:
Runtime error
Runtime error
Update app_merged.py
Browse files- app_merged.py +9 -8
app_merged.py
CHANGED
@@ -166,6 +166,15 @@ unet = UNet2DConditionModel.from_pretrained(sd15_name, subfolder="unet")
|
|
166 |
|
167 |
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
try:
|
170 |
import xformers
|
171 |
import xformers.ops
|
@@ -494,14 +503,6 @@ dpmpp_2m_sde_karras_scheduler = DPMSolverMultistepScheduler(
|
|
494 |
# Pipelines
|
495 |
|
496 |
|
497 |
-
fill_pipe = FluxFillPipeline.from_single_file(
|
498 |
-
"https://huggingface.co/SporkySporkness/FLUX.1-Fill-dev-GGUF/flux1-fill-dev-fp16-Q5_0-GGUF.gguf",
|
499 |
-
text_encoder= text_encoder,
|
500 |
-
text_encoder_2 = t5_path,
|
501 |
-
torch_dtype=torch.bfloat16
|
502 |
-
).to("cuda")
|
503 |
-
|
504 |
-
|
505 |
t2i_pipe = StableDiffusionPipeline(
|
506 |
vae=vae,
|
507 |
text_encoder=text_encoder,
|
|
|
166 |
|
167 |
|
168 |
|
169 |
+
fill_pipe = FluxFillPipeline.from_single_file(
|
170 |
+
"https://huggingface.co/SporkySporkness/FLUX.1-Fill-dev-GGUF/flux1-fill-dev-fp16-Q5_0-GGUF.gguf",
|
171 |
+
text_encoder= text_encoder,
|
172 |
+
text_encoder_2 = t5_path,
|
173 |
+
torch_dtype=torch.bfloat16
|
174 |
+
).to("cuda")
|
175 |
+
|
176 |
+
|
177 |
+
|
178 |
try:
|
179 |
import xformers
|
180 |
import xformers.ops
|
|
|
503 |
# Pipelines
|
504 |
|
505 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
t2i_pipe = StableDiffusionPipeline(
|
507 |
vae=vae,
|
508 |
text_encoder=text_encoder,
|