Spaces:
Running
on
Zero
Running
on
Zero
change simple
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from diffusers import FluxImg2ImgPipeline
|
|
13 |
dtype = torch.bfloat16
|
14 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
15 |
|
16 |
-
pipe = FluxImg2ImgPipeline.from_pretrained(
|
17 |
|
18 |
|
19 |
|
|
|
13 |
dtype = torch.bfloat16
|
14 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
15 |
|
16 |
+
pipe = FluxImg2ImgPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16).to(device)
|
17 |
|
18 |
|
19 |
|