Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
format
Browse files- front/views/layout.hbs +78 -92
front/views/layout.hbs
CHANGED
@@ -1,94 +1,80 @@
|
|
|
|
1 |
<html>
|
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 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
<script>
|
80 |
-
if (! ['localhost',
|
81 |
-
'huggingface.test'].includes(window.location.hostname)) { window.dataLayer
|
82 |
-
= window.dataLayer || []; function gtag(){dataLayer.push(arguments);}
|
83 |
-
gtag('js', new Date()); gtag('config', 'G-56Y0W3EPT3'); }
|
84 |
-
</script>
|
85 |
-
<script type="importmap">
|
86 |
-
{ "imports": { "space-header": "https://esm.sh/@huggingface/space-header"
|
87 |
-
} }
|
88 |
-
</script>
|
89 |
-
<script type="module">
|
90 |
-
import {init} from 'space-header';
|
91 |
-
init("banana-projects/transformer-autocomplete")
|
92 |
-
</script>
|
93 |
-
</body>
|
94 |
</html>
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<title>
|
6 |
+
{{#if meta.title}}
|
7 |
+
{{meta.title}}
|
8 |
+
{{else if doc.title}}
|
9 |
+
{{doc.title}}
|
10 |
+
{{else}}
|
11 |
+
Write With Transformer
|
12 |
+
{{/if}}
|
13 |
+
</title>
|
14 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
15 |
+
<link rel="stylesheet" href="/front/build/style.css?v4">
|
16 |
+
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700" rel="stylesheet">
|
17 |
+
{{#if meta.title}}
|
18 |
+
<meta property="og:title" content="{{meta.title}}">
|
19 |
+
{{else}}
|
20 |
+
<meta property="og:title" content="Write With Transformer">
|
21 |
+
{{/if}}
|
22 |
+
<meta property="og:type" content="website">
|
23 |
+
<meta property="og:url" content="https://transformer.huggingface.co{{meta.path}}">
|
24 |
+
{{#if meta.thumbnail}}
|
25 |
+
<meta property="og:image" content="https://transformer.huggingface.co/front/assets/{{meta.thumbnail}}.png">
|
26 |
+
{{else}}
|
27 |
+
<meta property="og:image" content="https://transformer.huggingface.co/front/assets/thumbnail-large.png">
|
28 |
+
{{/if}}
|
29 |
+
<meta property="fb:app_id" content="1321688464574422">
|
30 |
+
<meta name="twitter:card" content="summary_large_image">
|
31 |
+
<meta name="twitter:site" content="@huggingface">
|
32 |
+
<meta name="description" content="See how a modern neural network auto-completes your text">
|
33 |
+
</head>
|
34 |
+
<body class="{{body_classes}}" data-editable="{{editable}}">
|
35 |
+
{{{ body }}}
|
36 |
+
|
37 |
+
<script src="/front/assets/github-buttons.js"></script>
|
38 |
+
<script src="/front/node_modules/quill/dist/quill.js"></script>
|
39 |
+
<script src="/front/build/bundle.js"></script>
|
40 |
+
<script>
|
41 |
+
(function() {
|
42 |
+
if (window.location.hostname === 'localhost') {
|
43 |
+
console.log('[livereload]', 'on');
|
44 |
+
const s = document.createElement('script');
|
45 |
+
s.setAttribute('src', '//localhost:35729/livereload.js');
|
46 |
+
document.body.appendChild(s);
|
47 |
+
}
|
48 |
+
})();
|
49 |
+
</script>
|
50 |
+
<!-- Google analytics (legacy) -->
|
51 |
+
<script>
|
52 |
+
if (! ['localhost', 'huggingface.test'].includes(window.location.hostname)) {
|
53 |
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
54 |
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
55 |
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
56 |
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
57 |
+
ga('create', 'UA-83738774-5', 'auto');
|
58 |
+
ga('send', 'pageview');
|
59 |
+
}
|
60 |
+
</script>
|
61 |
+
<!-- Google tag (gtag.js) -->
|
62 |
+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-56Y0W3EPT3"></script>
|
63 |
+
<script>
|
64 |
+
if (! ['localhost', 'huggingface.test'].includes(window.location.hostname)) {
|
65 |
+
window.dataLayer = window.dataLayer || [];
|
66 |
+
function gtag(){dataLayer.push(arguments);}
|
67 |
+
gtag('js', new Date());
|
68 |
+
gtag('config', 'G-56Y0W3EPT3');
|
69 |
+
}
|
70 |
+
</script>
|
71 |
+
<script type="importmap">
|
72 |
+
{ "imports": { "space-header": "https://esm.sh/@huggingface/space-header"
|
73 |
+
} }
|
74 |
+
</script>
|
75 |
+
<script type="module">
|
76 |
+
import {init} from 'space-header';
|
77 |
+
init("banana-projects/transformer-autocomplete")
|
78 |
+
</script>
|
79 |
+
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
</html>
|