Skip to content

Commit

Permalink
fix(api): add missing arguments to prompt patch (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Apr 15, 2023
1 parent b076326 commit dd77166
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/onnx_web/diffusers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def expand_prompt(
num_images_per_prompt: int,
do_classifier_free_guidance: bool,
negative_prompt: Optional[str] = None,
prompt_embeds: Optional[np.ndarray] = None,
negative_prompt_embeds: Optional[np.ndarray] = None,
skip_clip_states: Optional[int] = 0,
) -> "np.NDArray":
# self provides:
Expand Down

0 comments on commit dd77166

Please sign in to comment.