Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
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 |
|