Spaces:
Running
Running
Upload custom-script.js
Browse files- assets/custom-script.js +13 -0
assets/custom-script.js
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
alert('If you see this alert, then your custom JavaScript script has run!');
|
2 |
+
window.mountChainlitWidget(
|
3 |
+
{
|
4 |
+
chainlitServer: "https://datacipen-copilotdatast.hf.space",
|
5 |
+
showCot: true,
|
6 |
+
theme: "dark",
|
7 |
+
fontFamily: "Karla",
|
8 |
+
button: {
|
9 |
+
style: {
|
10 |
+
bgcolor: "#17108f"
|
11 |
+
}
|
12 |
+
},
|
13 |
+
});
|