File size: 1,306 Bytes
a8ef8b7
 
ed4ac02
a8ef8b7
3fb09f5
 
 
 
 
 
 
ed4ac02
a8ef8b7
ed4ac02
 
 
 
 
 
 
 
 
762ae41
 
ed4ac02
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="Content-Security-Policy" content="connect-src 'self' https://*.huggingface.co https://*.hf.space ws: wss: blob: data:; default-src 'self' 'unsafe-inline' 'unsafe-eval' https: data: blob:;">
    <script>
      // Detect if we're in the Hugging Face wrapper and redirect to static site if needed
      if (window.location.href.includes('huggingface.co/spaces') && !window.location.href.includes('.static.hf.space')) {
        window.location.href = "https://dwb2023-transformers-js-demos.static.hf.space/";
      }
    </script>
    <link rel="icon" type="image/svg+xml" href="/logo.png" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Transformers.js Examples</title>
    <!-- Add MathJax configuration -->
    <script>
      window.MathJax = {
        tex: { inlineMath: [["$", "$"], ["\\(", "\\)"]] },
        svg: { fontCache: "global" }
      };
    </script>
    <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
    <script type="module" crossorigin src="./assets/index-89fUx0Kn.js"></script>
    <link rel="stylesheet" crossorigin href="./assets/index-BdmsDjw3.css">
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>