Yaron Koresh commited on
Commit
8a757aa
·
verified ·
1 Parent(s): 688d8e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ pipe.scheduler = DDIMScheduler(
131
  pipe.load_ip_adapter("h94/IP-Adapter", subfolder="models", weight_name="ip-adapter-plus_sd15.bin")
132
  pipe.enable_free_init(method="butterworth", use_fast_sampling=fast)
133
 
134
- pipe_flux = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to(device,dtype=dtype)
135
 
136
  # Parallelism
137
 
 
131
  pipe.load_ip_adapter("h94/IP-Adapter", subfolder="models", weight_name="ip-adapter-plus_sd15.bin")
132
  pipe.enable_free_init(method="butterworth", use_fast_sampling=fast)
133
 
134
+ pipe_flux = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, token=os.getenv("hf_token")).to(device,dtype=dtype)
135
 
136
  # Parallelism
137