Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add-space-header (#3)
Browse files- add space header package (1a89f87a2cbd0659d63de08a2cb19ae8c4ced429)
- use esm script (3d6ecefcc868ccef0e1b5de548a1b939eae45f18)
- format (1ddff816206182de04f84dfe2c7330d0fd339356)
Co-authored-by: enzo <[email protected]>
- front/views/layout.hbs +8 -0
front/views/layout.hbs
CHANGED
@@ -68,5 +68,13 @@
|
|
68 |
gtag('config', 'G-56Y0W3EPT3');
|
69 |
}
|
70 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
</body>
|
72 |
</html>
|
|
|
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>
|