Upload handler.py
Browse files- handler.py +2 -1
handler.py
CHANGED
|
@@ -18,7 +18,8 @@ def compile_pipeline(pipe):
|
|
| 18 |
class EndpointHandler:
|
| 19 |
def __init__(self, **kwargs: Any) -> None: # type: ignore
|
| 20 |
is_compile = False
|
| 21 |
-
repo_id = "camenduru/FLUX.1-dev-diffusers"
|
|
|
|
| 22 |
dtype = torch.bfloat16
|
| 23 |
quantization_config = TorchAoConfig("int4dq")
|
| 24 |
vae = AutoencoderKL.from_pretrained(repo_id, subfolder="vae", torch_dtype=dtype)
|
|
|
|
| 18 |
class EndpointHandler:
|
| 19 |
def __init__(self, **kwargs: Any) -> None: # type: ignore
|
| 20 |
is_compile = False
|
| 21 |
+
#repo_id = "camenduru/FLUX.1-dev-diffusers"
|
| 22 |
+
repo_id = "NoMoreCopyright/FLUX.1-dev-test"
|
| 23 |
dtype = torch.bfloat16
|
| 24 |
quantization_config = TorchAoConfig("int4dq")
|
| 25 |
vae = AutoencoderKL.from_pretrained(repo_id, subfolder="vae", torch_dtype=dtype)
|