enzostvs's picture
enzostvs HF Staff
use esm script
3d6ecef
raw
history blame
3.31 kB
<html>
<head>
<meta charset="utf-8" />
<title>
{{#if meta.title}}
{{meta.title}}
{{else if doc.title}}
{{doc.title}}
{{else}}
Write With Transformer
{{/if}}
</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>
<link rel="stylesheet" href="/front/build/style.css?v4" />
<link
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700"
rel="stylesheet"
/>
{{#if meta.title}}
<meta property="og:title" content="{{meta.title}}" />
{{else}}
<meta property="og:title" content="Write With Transformer" />
{{/if}}
<meta property="og:type" content="website" />
<meta
property="og:url"
content="https://transformer.huggingface.co{{meta.path}}"
/>
{{#if meta.thumbnail}}
<meta
property="og:image"
content="https://transformer.huggingface.co/front/assets/{{meta.thumbnail}}.png"
/>
{{else}}
<meta
property="og:image"
content="https://transformer.huggingface.co/front/assets/thumbnail-large.png"
/>
{{/if}}
<meta property="fb:app_id" content="1321688464574422" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@huggingface" />
<meta
name="description"
content="See how a modern neural network auto-completes your text"
/>
</head>
<body class="{{body_classes}}" data-editable="{{editable}}">
{{{body}}}
<script src="/front/assets/github-buttons.js"></script>
<script src="/front/node_modules/quill/dist/quill.js"></script>
<script src="/front/build/bundle.js"></script>
<script>
(function() { if (window.location.hostname === 'localhost') {
console.log('[livereload]', 'on'); const s =
document.createElement('script'); s.setAttribute('src',
'//localhost:35729/livereload.js'); document.body.appendChild(s); } })();
</script>
<!-- Google analytics (legacy) -->
<script>
if (! ['localhost',
'huggingface.test'].includes(window.location.hostname)) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-83738774-5', 'auto'); ga('send', 'pageview'); }
</script>
<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-56Y0W3EPT3"
></script>
<script>
if (! ['localhost',
'huggingface.test'].includes(window.location.hostname)) { window.dataLayer
= window.dataLayer || []; function gtag(){dataLayer.push(arguments);}
gtag('js', new Date()); gtag('config', 'G-56Y0W3EPT3'); }
</script>
<script type="importmap">
{ "imports": { "space-header": "https://esm.sh/@huggingface/space-header"
} }
</script>
<script type="module">
import {init} from 'space-header';
init("banana-projects/transformer-autocomplete")
</script>
</body>
</html>