Skip to content

Commit

Permalink
make style
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickvonplaten committed Sep 25, 2023
1 parent 6281d20 commit 589cd81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,9 @@ def __call__(
return_dict (`bool`, *optional*, defaults to `True`):
Whether or not to return a [`~pipelines.ImagePipelineOutput`] instead of a plain tuple.
prior_callback (`Callable`, *optional*):
A function that will be called every `prior_callback_steps` steps during inference. The function will be
called with the following arguments: `prior_callback(step: int, timestep: int, latents: torch.FloatTensor)`.
A function that will be called every `prior_callback_steps` steps during inference. The function will
be called with the following arguments: `prior_callback(step: int, timestep: int, latents:
torch.FloatTensor)`.
prior_callback_steps (`int`, *optional*, defaults to 1):
The frequency at which the `callback` function will be called. If not specified, the callback will be
called at every step.
Expand Down
2 changes: 1 addition & 1 deletion src/diffusers/schedulers/scheduling_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import os
from dataclasses import dataclass
from enum import Enum
from typing import Any, Dict, Optional, Union
from typing import Optional, Union

import torch

Expand Down
2 changes: 1 addition & 1 deletion src/diffusers/schedulers/scheduling_utils_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
from dataclasses import dataclass
from enum import Enum
from typing import Any, Dict, Optional, Tuple, Union
from typing import Optional, Tuple, Union

import flax
import jax.numpy as jnp
Expand Down

0 comments on commit 589cd81

Please sign in to comment.