Texttra commited on
Commit
a2bc943
·
verified ·
1 Parent(s): 905bc0d

Update handler.py

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