Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
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-
|
| 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 |
)
|