Update app.py
Browse files
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="
|
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 |
)
|