Ashoka74 commited on
Commit
8127f61
ยท
verified ยท
1 Parent(s): b315299

Update app_merged.py

Browse files
Files changed (1) hide show
  1. app_merged.py +8 -9
app_merged.py CHANGED
@@ -152,19 +152,18 @@ hf_hub_download(repo_id="black-forest-labs/FLUX.1-dev", filename="ae.safetensors
152
  hf_hub_download(repo_id="comfyanonymous/flux_text_encoders", filename="clip_l.safetensors", local_dir="models/text_encoders")
153
  t5_path = hf_hub_download(repo_id="comfyanonymous/flux_text_encoders", filename="t5xxl_fp16.safetensors", local_dir="models/text_encoders/t5")
154
 
155
- # fill_pipe = FluxFillPipeline.from_pretrained(
156
- # "black-forest-labs/FLUX.1-Fill-dev",
157
- # torch_dtype=torch.bfloat16
158
- # ).to("cuda")
159
-
160
-
161
-
162
  fill_pipe = FluxFillPipeline.from_pretrained(
163
- "YarvixPA/FLUX.1-Fill-dev-gguf",
164
- gguf_file="flux1-fill-dev-Q5_K_S.gguf"
165
  ).to("cuda")
166
 
167
 
 
 
 
 
 
 
168
 
169
  sd15_name = 'stablediffusionapi/realistic-vision-v51'
170
  tokenizer = CLIPTokenizer.from_pretrained(sd15_name, subfolder="tokenizer")
 
152
  hf_hub_download(repo_id="comfyanonymous/flux_text_encoders", filename="clip_l.safetensors", local_dir="models/text_encoders")
153
  t5_path = hf_hub_download(repo_id="comfyanonymous/flux_text_encoders", filename="t5xxl_fp16.safetensors", local_dir="models/text_encoders/t5")
154
 
 
 
 
 
 
 
 
155
  fill_pipe = FluxFillPipeline.from_pretrained(
156
+ "black-forest-labs/FLUX.1-Fill-dev",
157
+ torch_dtype=torch.bfloat16
158
  ).to("cuda")
159
 
160
 
161
+ # fill_pipe = FluxFillPipeline.from_pretrained(
162
+ # "YarvixPA/FLUX.1-Fill-dev-gguf",
163
+ # gguf_file="flux1-fill-dev-Q5_K_S.gguf"
164
+ # ).to("cuda")
165
+
166
+
167
 
168
  sd15_name = 'stablediffusionapi/realistic-vision-v51'
169
  tokenizer = CLIPTokenizer.from_pretrained(sd15_name, subfolder="tokenizer")