Skip to content

Commit cb8a3db

Browse files
make style
1 parent bcd6f3f commit cb8a3db

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/dreambooth/train_dreambooth_flax.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -629,9 +629,7 @@ def compute_loss(params):
629629

630630
def checkpoint(step=None):
631631
# Create the pipeline using the trained modules and save it.
632-
scheduler, _ = FlaxPNDMScheduler.from_pretrained(
633-
"CompVis/stable-diffusion-v1-4", subfolder="scheduler"
634-
)
632+
scheduler, _ = FlaxPNDMScheduler.from_pretrained("CompVis/stable-diffusion-v1-4", subfolder="scheduler")
635633
safety_checker = FlaxStableDiffusionSafetyChecker.from_pretrained(
636634
"CompVis/stable-diffusion-safety-checker", from_pt=True
637635
)

0 commit comments

Comments
 (0)