Texttra commited on
Commit
ad5c32f
·
verified ·
1 Parent(s): 2f69dee

Update handler.py

Browse files
Files changed (1) hide show
  1. 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.float16,
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