dn6 HF staff commited on
Commit
5ecae80
1 Parent(s): b0165ea
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
16
  pipe = FluxPipeline.from_pretrained(
17
  "black-forest-labs/FLUX.1-dev",
18
  torch_dtype=torch.bfloat16
19
- ).to("device")
20
 
21
  def split_image(input_image, num_splits=4):
22
  # Create a list to store the output images
 
16
  pipe = FluxPipeline.from_pretrained(
17
  "black-forest-labs/FLUX.1-dev",
18
  torch_dtype=torch.bfloat16
19
+ ).to(device)
20
 
21
  def split_image(input_image, num_splits=4):
22
  # Create a list to store the output images