multimodalart HF staff commited on
Commit
ec58781
1 Parent(s): 34e644d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", revision="refs/pr/1", torch_dtype=torch.bfloat16).to("cuda")
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