Skip to content

Commit 7131e7f

Browse files
authored
Correct docstring inaccuracy (#2469)
Default parameters contradicted docstring
1 parent 2f9eb86 commit 7131e7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

keras_cv/src/models/stable_diffusion/stable_diffusion.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class StableDiffusion(StableDiffusionBase):
380380
rounded to the nearest valid value. Defaults to 512.
381381
jit_compile: bool, whether to compile the underlying models to XLA.
382382
This can lead to a significant speedup on some systems. Defaults to
383-
False.
383+
True.
384384
385385
Example:
386386
@@ -466,7 +466,8 @@ class StableDiffusionV2(StableDiffusionBase):
466466
rounded to the nearest valid value. Defaults to 512.
467467
jit_compile: bool, whether to compile the underlying models to XLA.
468468
This can lead to a significant speedup on some systems. Defaults to
469-
False.
469+
True.
470+
470471
Example:
471472
472473
```python

0 commit comments

Comments
 (0)