Skip to content

Commit 3a2759f

Browse files
committed
make style.
1 parent ca54e50 commit 3a2759f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/text_to_image/train_text_to_image_sdxl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ def load_model_hook(models, input_dir):
872872
# Preprocessing the datasets.
873873
interpolation = getattr(transforms.InterpolationMode, args.image_interpolation_mode.upper(), None)
874874
if interpolation is None:
875-
raise ValueError(f"Unsupported interpolation mode {interpolation=}.")
875+
raise ValueError(f"Unsupported interpolation mode {interpolation=}.")
876876
train_resize = transforms.Resize(args.resolution, interpolation=interpolation)
877877
train_crop = transforms.CenterCrop(args.resolution) if args.center_crop else transforms.RandomCrop(args.resolution)
878878
train_flip = transforms.RandomHorizontalFlip(p=1.0)

0 commit comments

Comments
 (0)