Skip to content

Commit

Permalink
Correct docstring inaccuracy (#2469)
Browse files Browse the repository at this point in the history
Default parameters contradicted docstring
  • Loading branch information
mdvthu authored Aug 20, 2024
1 parent 2f9eb86 commit 7131e7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions keras_cv/src/models/stable_diffusion/stable_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class StableDiffusion(StableDiffusionBase):
rounded to the nearest valid value. Defaults to 512.
jit_compile: bool, whether to compile the underlying models to XLA.
This can lead to a significant speedup on some systems. Defaults to
False.
True.
Example:
Expand Down Expand Up @@ -466,7 +466,8 @@ class StableDiffusionV2(StableDiffusionBase):
rounded to the nearest valid value. Defaults to 512.
jit_compile: bool, whether to compile the underlying models to XLA.
This can lead to a significant speedup on some systems. Defaults to
False.
True.
Example:
```python
Expand Down

0 comments on commit 7131e7f

Please sign in to comment.