Skip to content

Commit

Permalink
description updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi214 committed Apr 22, 2024
1 parent 539d480 commit 491deaf
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 59 deletions.
Binary file added assets/gif/irr.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/gif/rcv.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/gif/trg.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion js/denoise_l3expl.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ d3.select("#latent-denoiser-l3-expl-text-container")
.text("(1) generic noise conditioned on an empty prompt")
d3.select("#latent-denoiser-l3-expl-text-container")
.append("div")
.text("(2) prompt-specific noise conditioned on your text prompt.")
.text("(2) noise conditioned on your text prompt.")
.style("padding-bottom", "8px")
d3.select("#latent-denoiser-l3-expl-text-container")
.append("div")
Expand Down
172 changes: 120 additions & 52 deletions js/description.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions js/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -1515,13 +1515,14 @@ function expandLatentDenoiserL3 () {
d3.select("#latent-denoiser-container")
.transition()
.duration(animationDuration)
.style("height", "383px")
// .style("height", "383px")
.style("height", "363px")

// Change the height of main
d3.select("#architecture-wrapper")
.transition()
.duration(animationDuration)
.style("height", "515px")
.style("height", "495px")

// hide guidance scale expl ...
d3.select("#text-vector-generator-latent-denoiser-text")
Expand Down
2 changes: 2 additions & 0 deletions js/text_l2expl.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ document.addEventListener("mouseup", (e) => {
// else if (e.clientY > descriptionBox.y) {}
// else {reduceTextVectorGeneratorL2();}
else if (document.querySelector("#architecture-container-hide-button-container:hover") != null) {}
else if (document.querySelector(".controller-button-circle:hover") != null) {}
else if (document.querySelector("#controller-timestep-slider-container:hover") != null) {}
else if (e.clientX > mainLeft && e.clientX < mainRight && e.clientY > mainTop && e.clientY < mainBottom) {reduceTextVectorGeneratorL2();}
else {}
}
Expand Down
16 changes: 12 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ svg {
}

/* main */
@media screen and (max-height: 767px) {
@media screen and (max-height: 700px) {
#main {
position: relative;
/* display: block;
Expand All @@ -169,7 +169,7 @@ svg {
}
}

@media screen and (min-height: 768px) {
@media screen and (min-height: 701px) {
#main {
position: sticky;
/* display: block;
Expand Down Expand Up @@ -1393,7 +1393,7 @@ input:checked + .slider:before {
position: absolute;
left: 690px;
height: 300px;
width: 530px;
width: 553px;
background-image: linear-gradient(to right, #ffffff00, #ffffff80, #ffffffff, #ffffffff, #ffffffff);
opacity: 0;
z-index: 11;
Expand Down Expand Up @@ -2433,17 +2433,25 @@ input:checked + .slider:before {
}

.description-gif {
width: 500px;
width: 400px;
position: relative;
left: 50%;
transform: translateX(-50%);
box-shadow: 0px 0px 15px #80808030
}

#text-representation-generation-expansion-gif {
width: 550px;
}

#image-refining-description-gif {
width: 650px;
}

#rcv-expansion-gif {
width: 700px;
}

#description h1 {
font-size: 32px;
font-weight: 400;
Expand Down

0 comments on commit 491deaf

Please sign in to comment.