1
0
Fork 0

fix(api): make sure all file types are covered (#432)

This commit is contained in:
Sean Sube 2023-12-14 20:04:08 -06:00
parent 2a641b111e
commit 95d8f4a598
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ def convert_diffusion_diffusers(
torch_dtype=dtype,
use_auth_token=conversion.token,
).to(device)
elif path.isfile(source):
else:
if conversion.extract:
logger.debug("extracting SD checkpoint to Torch models: %s", source)
torch_source = convert_extract_checkpoint(