chore: black fix

This commit is contained in:
blessedcoolant 2023-08-24 07:27:00 +12:00 committed by Kent Keirsey
parent 49892faee4
commit 5eb6148336

View File

@ -29,7 +29,7 @@ def load_jit_model(url_or_path, device):
class LaMA:
def __call__(self, input_image: Image.Image, *args: Any, **kwds: Any) -> Any:
device = choose_torch_device()
model_location = get_invokeai_config().models_path / 'core/misc/lama/lama.pt'
model_location = get_invokeai_config().models_path / "core/misc/lama/lama.pt"
model = load_jit_model(model_location, device)
image = np.asarray(input_image.convert("RGB"))