English
John6666 commited on
Commit
3fcc2ae
·
verified ·
1 Parent(s): ba3e6ba

Upload handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -19,8 +19,8 @@ def compile_pipeline(pipe) -> Any:
19
  class EndpointHandler:
20
  def __init__(self, path=""):
21
  is_compile = False
22
- #repo_id = "camenduru/FLUX.1-dev-diffusers"
23
- repo_id = "NoMoreCopyright/FLUX.1-dev-test"
24
  dtype = torch.bfloat16
25
  quantization_config = TorchAoConfig("int4dq")
26
  vae = AutoencoderKL.from_pretrained(repo_id, subfolder="vae", torch_dtype=dtype)
 
19
  class EndpointHandler:
20
  def __init__(self, path=""):
21
  is_compile = False
22
+ repo_id = "camenduru/FLUX.1-dev-diffusers"
23
+ #repo_id = "NoMoreCopyright/FLUX.1-dev-test"
24
  dtype = torch.bfloat16
25
  quantization_config = TorchAoConfig("int4dq")
26
  vae = AutoencoderKL.from_pretrained(repo_id, subfolder="vae", torch_dtype=dtype)