MisterAI commited on
Commit
9d225f0
·
verified ·
1 Parent(s): 6e63c31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ class FluxGenerator:
80
  self.pipeline = FluxPipeline.from_pretrained(
81
  "black-forest-labs/FLUX.1-schnell",
82
  revision="refs/pr/1",
83
- device_map="auto",
84
  torch_dtype=torch.float32,
85
  use_safetensors=True
86
  )
 
80
  self.pipeline = FluxPipeline.from_pretrained(
81
  "black-forest-labs/FLUX.1-schnell",
82
  revision="refs/pr/1",
83
+ device_map="balanced",
84
  torch_dtype=torch.float32,
85
  use_safetensors=True
86
  )