Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
drhead authored Jun 22, 2024
1 parent 48039c3 commit cff1e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/training_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def __init__(
self.model_config = model_config

@classmethod
def from_pretrained(cls, path, model_cls, foreach = False) -> "EMAModel":
def from_pretrained(cls, path, model_cls, foreach=False) -> "EMAModel":
_, ema_kwargs = model_cls.load_config(path, return_unused_kwargs=True)
model = model_cls.from_pretrained(path)

Expand Down

0 comments on commit cff1e06

Please sign in to comment.