diff --git a/index.html b/index.html index b51e68e..3fc6137 100644 --- a/index.html +++ b/index.html @@ -13,8 +13,8 @@ name="description" content="Interactive TSNE plots of query + key vectors generated from BERT" /> - - + + diff --git a/main.js b/main.js index 43049fd..7fdc5be 100644 --- a/main.js +++ b/main.js @@ -15,7 +15,7 @@ function load_graph(layer, head) { graph.html("

loading...

"); // clear content + loading message // change graph displayed on UI - let directory = "plots/"; + let directory = "./plots/"; graph.load(directory + "layer" + layer + "_head" + head + ".html"); attn_filter.fadeIn(); } @@ -48,9 +48,9 @@ function load_single_view(plot) { } function create_matrix(matrix, umap) { - let directory = "plot_imgs/"; + let directory = "./plot_imgs/"; if (umap) { // switch directory for umap - directory = "umap_imgs/"; + directory = "./umap_imgs/"; } // generate matrix of all plots let head_label = $("

head →layer ↓

");