Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
ec58781
1
Parent(s):
34e644d
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from controlnet_aux import CannyDetector
|
|
12 |
MAX_SEED = np.iinfo(np.int32).max
|
13 |
MAX_IMAGE_SIZE = 2048
|
14 |
|
15 |
-
pipe = FluxControlPipeline.from_pretrained("black-forest-labs/FLUX.1-Canny-dev",
|
16 |
processor = CannyDetector()
|
17 |
|
18 |
@spaces.GPU
|
|
|
12 |
MAX_SEED = np.iinfo(np.int32).max
|
13 |
MAX_IMAGE_SIZE = 2048
|
14 |
|
15 |
+
pipe = FluxControlPipeline.from_pretrained("black-forest-labs/FLUX.1-Canny-dev", torch_dtype=torch.bfloat16).to("cuda")
|
16 |
processor = CannyDetector()
|
17 |
|
18 |
@spaces.GPU
|