Skip to content

Commit ad514b6

Browse files
authored
Fix the broken link in Stable diffusion tutorial (#1162)
1 parent 127613f commit ad514b6

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

guides/ipynb/keras_cv/generate_images_with_stable_diffusion.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@
161161
]
162162
},
163163
{
164+
"attachments": {},
164165
"cell_type": "markdown",
165166
"metadata": {
166167
"colab_type": "text"
@@ -216,10 +217,10 @@
216217
"All-in-all, it's a pretty simple system -- the Keras implementation\n",
217218
"fits in four files that represent less than 500 lines of code in total:\n",
218219
"\n",
219-
"- [text_encoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/text_encoder.py): 87 LOC\n",
220-
"- [diffusion_model.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/diffusion_model.py): 181 LOC\n",
221-
"- [decoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/decoder.py): 86 LOC\n",
222-
"- [stable_diffusion.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/stable_diffusion.py): 106 LOC\n",
220+
"- [text_encoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/text_encoder.py): 87 LOC\n",
221+
"- [diffusion_model.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/diffusion_model.py): 181 LOC\n",
222+
"- [decoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/decoder.py): 86 LOC\n",
223+
"- [stable_diffusion.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/stable_diffusion.py): 106 LOC\n",
223224
"\n",
224225
"But this relatively simple system starts looking like magic once you train on billions of pictures and their captions.\n",
225226
"As Feynman said about the universe: _\"It's not complicated, it's just a lot of it!\"_"

guides/keras_cv/generate_images_with_stable_diffusion.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ def plot_images(images):
137137
All-in-all, it's a pretty simple system -- the Keras implementation
138138
fits in four files that represent less than 500 lines of code in total:
139139
140-
- [text_encoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/text_encoder.py): 87 LOC
141-
- [diffusion_model.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/diffusion_model.py): 181 LOC
142-
- [decoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/decoder.py): 86 LOC
143-
- [stable_diffusion.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/stable_diffusion.py): 106 LOC
140+
- [text_encoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/text_encoder.py): 87 LOC
141+
- [diffusion_model.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/diffusion_model.py): 181 LOC
142+
- [decoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/decoder.py): 86 LOC
143+
- [stable_diffusion.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/stable_diffusion.py): 106 LOC
144144
145145
But this relatively simple system starts looking like magic once you train on billions of pictures and their captions.
146146
As Feynman said about the universe: _"It's not complicated, it's just a lot of it!"_

guides/md/keras_cv/generate_images_with_stable_diffusion.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ Finally, the 64x64 latent image is sent through the decoder to properly render i
165165
All-in-all, it's a pretty simple system -- the Keras implementation
166166
fits in four files that represent less than 500 lines of code in total:
167167

168-
- [text_encoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/text_encoder.py): 87 LOC
169-
- [diffusion_model.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/diffusion_model.py): 181 LOC
170-
- [decoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/decoder.py): 86 LOC
171-
- [stable_diffusion.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/generative/stable_diffusion/stable_diffusion.py): 106 LOC
168+
- [text_encoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/text_encoder.py): 87 LOC
169+
- [diffusion_model.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/diffusion_model.py): 181 LOC
170+
- [decoder.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/decoder.py): 86 LOC
171+
- [stable_diffusion.py](https://github.com/keras-team/keras-cv/blob/master/keras_cv/models/stable_diffusion/stable_diffusion.py): 106 LOC
172172

173173
But this relatively simple system starts looking like magic once you train on billions of pictures and their captions.
174174
As Feynman said about the universe: _"It's not complicated, it's just a lot of it!"_

0 commit comments

Comments
 (0)