Spaces:
Running
Running
Commit ·
e8eda42
1
Parent(s): 81dc9d7
Update index.html
Browse files- index.html +25 -0
index.html
CHANGED
|
@@ -7,6 +7,30 @@
|
|
| 7 |
<link rel="stylesheet" href="style.css" />
|
| 8 |
</head>
|
| 9 |
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
<div class="card">
|
| 11 |
<h1>Welcome to your static Space!</h1>
|
| 12 |
<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
|
|
@@ -14,6 +38,7 @@
|
|
| 14 |
Also don't forget to check the
|
| 15 |
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 16 |
</p>
|
|
|
|
| 17 |
</div>
|
| 18 |
</body>
|
| 19 |
</html>
|
|
|
|
| 7 |
<link rel="stylesheet" href="style.css" />
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
+
|
| 11 |
+
<script>
|
| 12 |
+
window.addEventListener('mouseover', initLandbot, { once: true });
|
| 13 |
+
window.addEventListener('touchstart', initLandbot, { once: true });
|
| 14 |
+
var myLandbot;
|
| 15 |
+
function initLandbot() {
|
| 16 |
+
if (!myLandbot) {
|
| 17 |
+
var s = document.createElement('script');s.type = 'text/javascript';s.async = true;
|
| 18 |
+
s.addEventListener('load', function() {
|
| 19 |
+
var myLandbot = new Landbot.Livechat({
|
| 20 |
+
configUrl: 'https://storage.googleapis.com/landbot.pro/v3/H-1674458-4WV1PFRGKDIMTRAW/index.json',
|
| 21 |
+
customData:{
|
| 22 |
+
community_id:"",
|
| 23 |
+
tenant_id:""
|
| 24 |
+
},
|
| 25 |
+
});
|
| 26 |
+
});
|
| 27 |
+
s.src = 'https://cdn.landbot.io/landbot-3/landbot-3.0.0.js';
|
| 28 |
+
var x = document.getElementsByTagName('script')[0];
|
| 29 |
+
x.parentNode.insertBefore(s, x);
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
</script>
|
| 33 |
+
|
| 34 |
<div class="card">
|
| 35 |
<h1>Welcome to your static Space!</h1>
|
| 36 |
<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
|
|
|
|
| 38 |
Also don't forget to check the
|
| 39 |
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 40 |
</p>
|
| 41 |
+
|
| 42 |
</div>
|
| 43 |
</body>
|
| 44 |
</html>
|