Ashoka74 commited on
Commit
0fb9dcf
ยท
verified ยท
1 Parent(s): 2d6d191

Update app_merged.py

Browse files
Files changed (1) hide show
  1. 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,