Spaces:
Running
Running
| <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> | |