Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
weihsinyeh committed Mar 26, 2024
1 parent 5cc1502 commit 26f5dfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@ window.addEventListener("load", async function() {
video_arr = parent.document.querySelectorAll("img")
//fill the content of video, title, and description
new_child.children[0].innerHTML += folder_name[i]; //title

await loadJson(new_child.children[1], json_path);
epoch = 80;
for (let j=0; j<5;j++){
video_path = "./epoch"+(epoch+j).toString()+"/"+folder_name[i] + ".gif";
video_arr[j].src = video_path;
}
await loadJson(new_child.children[1], json_path);
prediction_arr = parent.document.querySelectorAll("p")
for (let j=0; j<5;j++){
epoch_path = result_epoch + "/results_epoch" + (epoch+j).toString() + ".json";
Expand Down

0 comments on commit 26f5dfa

Please sign in to comment.