Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -13,7 +13,7 @@ class EndpointHandler:
|
|
13 |
# Load base model from Hugging Face
|
14 |
self.pipe = FluxKontextPipeline.from_pretrained(
|
15 |
"black-forest-labs/FLUX.1-Kontext-dev",
|
16 |
-
torch_dtype=torch.
|
17 |
)
|
18 |
|
19 |
# Debug available methods on pipeline
|
|
|
13 |
# Load base model from Hugging Face
|
14 |
self.pipe = FluxKontextPipeline.from_pretrained(
|
15 |
"black-forest-labs/FLUX.1-Kontext-dev",
|
16 |
+
torch_dtype=torch.bfloat16,
|
17 |
)
|
18 |
|
19 |
# Debug available methods on pipeline
|