Skip to content

Commit

Permalink
Merge pull request #5 from 63days/posterior
Browse files Browse the repository at this point in the history
fix(posterior): text margin, page arrangement
  • Loading branch information
charlieppark committed Nov 20, 2023
2 parents 014f278 + 2c167d2 commit d1659cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 451 deletions.
13 changes: 4 additions & 9 deletions publications/posterior-distillation-sampling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -586,36 +586,31 @@ <h3 class="title is-3 publication-title">SVG Editing</h3>
</div>

<div class="full_results" id="full_res"></div>
<div class="col-sm-4 my-auto center" style="margin-left: auto; margin-right: auto;">
<a href="./svg.html" class="btn-primary">
<p>More Results</p>
</a>
</div>
<script>
var h_full = '';
var h_btn = '';
var selected_indices = [8, 20, 23, 36];
var selected_indices = [8, 14, 19, 20, 23, 32, 36];
<!--for (var i = 1; i < 31; i++){-->
for (var i of selected_indices) {
var prompt = $.ajax({
url: './static/data/svgs/prompts/' + i + '.txt',
async: false
}).responseText;
h_full += '<br>\
<h2 class="subtitle has-text-centered">' + prompt + '</h2>\
<div class="column" style="align-items: center;">\
<p style="font-size: 20px; text-align: center; margin-bottom: 0px;">' + prompt + '</p>\
<div class="columns" style="align-items: center; padding: 0; margin:0;">\
<figure style="display: inline-block; justify-content: center; align-items: center; width: fit-content; padding: 1; margin:auto;">\
<img id="input" src="./static/data/svgs/input/' + i + '.svg" style="height:100%" alt="Input."/>\
<figcaption>Input<br>&nbsp;</figcaption>\
</figure>\
<figure style="display: inline-block; justify-content: center; align-items: center; width: fit-content; padding: 1; margin:auto;">\
<img id="baseline_sds" src="./static/data/svgs/sds/' + i + '.svg" style="height:100%" alt="Baseline SDS image."/>\
<figcaption>SDS<br>(Haque <i>et al.</i>)</figcaption>\
<figcaption>SDS<br>(Poole <i>et al.</i>)</figcaption>\
</figure>\
<figure style="display: inline-block; justify-content: center; align-items: center; width: fit-content; padding: 1; margin:auto;">\
<img id="baseline_dds" src="./static/data/svgs/dds/' + i + '.svg" style="height:100%" alt="Baseline DDS image."/>\
<figcaption>DDS<br>&nbsp;</figcaption>\
<figcaption>DDS<br>(Hertz <i>et al.</i>)</figcaption>\
</figure>\
<figure style="display: inline-block; justify-content: center; align-items: center; width: fit-content; padding: 1; margin:auto;">\
<img id="pds" src="./static/data/svgs/pds/' + i + '.svg" style="height:100%" alt="PDS image."/>\
Expand Down
Loading

0 comments on commit d1659cf

Please sign in to comment.