hesamation commited on
Commit
f2044ac
·
1 Parent(s): 92d2615

Add model loading and embedding saving section to index.html with interactive code embed

Browse files
Files changed (1) hide show
  1. src/index.html +9 -0
src/index.html CHANGED
@@ -95,6 +95,15 @@
95
  </div>
96
  </details>
97
 
 
 
 
 
 
 
 
 
 
98
 
99
  <p>This template includes support for mathematics, interactive visualizations, citations, footnotes, and more. In this guide, we'll walk you through the structure of the template and how to customize it for your own blog.</p>
100
 
 
95
  </div>
96
  </details>
97
 
98
+
99
+ <details style="background: #f6f8fa; border: 1px solid #d0d7de; border-radius: 6px; margin: 1em 0;">
100
+ <summary style="padding: 12px; cursor: pointer; user-select: none; background: #f3f4f6; border-bottom: 1px solid #d0d7de;">
101
+ Load the model and save the embeddings.
102
+ </summary>
103
+ <div class="code-embed-container" style="margin: 0; border-radius: 0; overflow-x: scroll; width: max-content; min-width: 100%; font-size: 8px;"></div>
104
+ <script src="https://gist.github.com/hesamsheikh/6d62d890604078580342fb919e3d2798.js"></script>
105
+ </div>
106
+ </details>
107
 
108
  <p>This template includes support for mathematics, interactive visualizations, citations, footnotes, and more. In this guide, we'll walk you through the structure of the template and how to customize it for your own blog.</p>
109