From 489c3197e264fe63f2bc3366bbda10ec4e19dfc6 Mon Sep 17 00:00:00 2001 From: Mark Thurston Date: Sat, 13 Jul 2024 19:28:06 +0100 Subject: [PATCH] Correct docstring inaccuracy Default parameters contradicted docstring --- keras_cv/src/models/stable_diffusion/stable_diffusion.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/keras_cv/src/models/stable_diffusion/stable_diffusion.py b/keras_cv/src/models/stable_diffusion/stable_diffusion.py index e26abb5fca..4b2bbb7710 100644 --- a/keras_cv/src/models/stable_diffusion/stable_diffusion.py +++ b/keras_cv/src/models/stable_diffusion/stable_diffusion.py @@ -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: @@ -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