Cicici1109 commited on
Commit
3881106
·
verified ·
1 Parent(s): e7787e7

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -38,7 +38,7 @@ def init_flux_pipeline():
38
  if not token:
39
  raise ValueError("HF_TOKEN environment variable not set.")
40
  pipe = FluxPipeline.from_pretrained(
41
- "black-forest-labs/FLUX.1-dev",
42
  use_auth_token=token,
43
  torch_dtype=torch.bfloat16
44
  )
 
38
  if not token:
39
  raise ValueError("HF_TOKEN environment variable not set.")
40
  pipe = FluxPipeline.from_pretrained(
41
+ "black-forest-labs/FLUX.1-schnell",
42
  use_auth_token=token,
43
  torch_dtype=torch.bfloat16
44
  )