Yuanshi commited on
Commit
9ce9f52
·
verified ·
1 Parent(s): 1a1d307

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def init_pipeline():
15
  pipe = FluxPipeline.from_pretrained(
16
  "black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16
17
  )
18
- # pipe = pipe.to("cuda")
19
  pipe.load_lora_weights(
20
  "Yuanshi/OminiControl",
21
  weight_name=f"omini/subject_512.safetensors",
 
15
  pipe = FluxPipeline.from_pretrained(
16
  "black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16
17
  )
18
+ pipe = pipe.to("cuda")
19
  pipe.load_lora_weights(
20
  "Yuanshi/OminiControl",
21
  weight_name=f"omini/subject_512.safetensors",