Skip to content

Commit 07981e4

Browse files
authored
Fix HTML formatting for prompt captions
1 parent 134a47f commit 07981e4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

project-5/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -836,38 +836,38 @@ <h2>Part 1.8 – Visual Anagrams</h2>
836836
We now have the necessary tools to generate visual anagrams, or images that look like another different one when flipped/rotated. As an example for a vertical flip anagram, we would start with 2 prompt embeddings <code>p<sub>1</sub></code> and <code>p<sub>2</sub></code>. For <code>p<sub>1</sub></code>, we would compute the noise estimate &epsilon;<sub>1</sub> normally at each step, but for <code>p<sub>2</sub></code>, we flip the image <code>x<sub>t</sub></code> first before computing the noise estimate, then flip back the estimate to obtain &epsilon;<sub>2</sub>. Once this is done, we will use the average of &epsilon;<sub>1</sub> and &epsilon;<sub>2</sub> as the final noise estimate for each step. The variance can also be computed similarly, namely v<sub>1</sub> will be computed in the usual way, while v<sub>2</sub> will be the flipped variance estimate of the flipped <code>x<sub>t</sub></code>, and the final variance estimate will (v<sub>1</sub> + v<sub>2</sub>) / 2. Below are a few examples of such an effect, with <code>p<sub>1</sub></code> being the first prompt and <code>p<sub>2</sub></code> being the second:
837837

838838
<div class="subsection">
839-
<h3>Prompts: <code>'an oil painting of an old man'</code> and <code>'an oil painting of people around a campfire'</code></h3>
839+
<h3>Prompts: <code>'an oil painting of an old man'</code> & <code>'an oil painting of people around a campfire'</code></h3>
840840
<div class="image-row">
841841
<figure>
842842
<img src="images/anagram/anagram1_256.png" alt="anagram1_256.png" />
843843
<figcaption>Original</figcaption>
844844
</figure>
845845
<figure>
846-
<img src="images/anagram/anagram1_flip_256.png" alt="anagram1_256.png" />
846+
<img src="images/anagram/anagram1_flip_256.png" alt="anagram1_flip_256.png" />
847847
<figcaption>Flipped</figcaption>
848848
</figure>
849849
</div>
850850

851-
<h3>Prompts: <code>'a lithograph of waterfalls'</code> and <code>'a man wearing a hat'</code></h3>
851+
<h3>Prompts: <code>'a lithograph of waterfalls'</code> & <code>'a man wearing a hat'</code></h3>
852852
<div class="image-row">
853853
<figure>
854854
<img src="images/anagram/anagram2_256.png" alt="anagram2_256.png" />
855855
<figcaption>Original</figcaption>
856856
</figure>
857857
<figure>
858-
<img src="images/anagram/anagram2_flip_256.png" alt="anagram2_256.png" />
858+
<img src="images/anagram/anagram2_flip_256.png" alt="anagram2_flip_256.png" />
859859
<figcaption>Flipped</figcaption>
860860
</figure>
861861
</div>
862862

863-
<h3>Prompts: <code>'an oil painting of a snowy mountain village'</code> and <code>'a photo of a dog'</code></h3>
863+
<h3>Prompts: <code>'an oil painting of a snowy mountain village'</code> & <code>'a photo of a dog'</code></h3>
864864
<div class="image-row">
865865
<figure>
866866
<img src="images/anagram/anagram3_256.png" alt="anagram3_256.png" />
867867
<figcaption>Original</figcaption>
868868
</figure>
869869
<figure>
870-
<img src="images/anagram/anagram3_flip_256.png" alt="anagram3_256.png" />
870+
<img src="images/anagram/anagram3_flip_256.png" alt="anagram3_flip_256.png" />
871871
<figcaption>Flipped</figcaption>
872872
</figure>
873873
</div>
@@ -886,15 +886,15 @@ <h2>Part 1.9 – Hybrid Images</h2>
886886
<div class="image-row">
887887
<figure>
888888
<img src="images/hybrid/hybrid1_256.png" alt="hybrid1_256.png" />
889-
<figcaption>Prompts: (low-pass) and (high-pass)</figcaption>
889+
<figcaption>Prompts: <code></code> (low-pass) & <code></code> (high-pass)</figcaption>
890890
</figure>
891891
<figure>
892892
<img src="images/hybrid/hybrid2_256.png" alt="hybrid2_256.png" />
893-
<figcaption>Prompts: (low-pass) and (high-pass)</figcaption>
893+
<figcaption>Prompts: <code></code> (low-pass) & <code></code> (high-pass)</figcaption>
894894
</figure>
895895
<figure>
896896
<img src="images/hybrid/hybrid3_256.png" alt="hybrid3_256.png" />
897-
<figcaption>Prompts: (low-pass) and (high-pass)</figcaption>
897+
<figcaption>Prompts: <code></code> (low-pass) & <code></code> (high-pass)</figcaption>
898898
</figure>
899899
</div>
900900
</div>

0 commit comments

Comments
 (0)