linoyts HF staff commited on
Commit
1e6162c
·
verified ·
1 Parent(s): 7cc5157

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev",
21
  torch_dtype=torch.bfloat16)
22
 
23
  #pipe.enable_lora()
24
- pipe.to(DEVICE)
25
 
26
  def get_examples():
27
  case = [
 
21
  torch_dtype=torch.bfloat16)
22
 
23
  #pipe.enable_lora()
24
+ pipe.to("cuda")
25
 
26
  def get_examples():
27
  case = [