fishytorts commited on
Commit
c70c9d8
1 Parent(s): a75462a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +79 -17
index.html CHANGED
@@ -1,19 +1,81 @@
1
  <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
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>
13
- <p>
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>
 
1
  <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="theme-color" content="#000000" />
8
+ <meta
9
+ name="description"
10
+ content="Web site created using create-react-app"
11
+ />
12
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
+ <link href="https://fonts.googleapis.com/css?family=Libre+Baskerville" rel="stylesheet" type="text/css">
14
+ <!--
15
+ manifest.json provides metadata used when your web app is installed on a
16
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
17
+ -->
18
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
19
+ <!--
20
+ Notice the use of %PUBLIC_URL% in the tags above.
21
+ It will be replaced with the URL of the `public` folder during the build.
22
+ Only files inside the `public` folder can be referenced from the HTML.
23
+
24
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
25
+ work correctly both with client-side routing and a non-root public URL.
26
+ Learn how to configure a non-root public URL by running `npm run build`.
27
+ -->
28
+ <title>Top University's Elli Bot</title>
29
+
30
+ </head>
31
+ <body>
32
+ <div><p>Body</p></div>
33
+ <div>
34
+ <script src="https://cdn.botpress.cloud/webchat/v0/inject.js"></script>
35
+
36
+ <script>
37
+ window.botpressWebChat.init({
38
+ // Replace <your-bot-id> and <your-client-id> with your actual bot and client IDs
39
+ "botId": "ea640a0c-9bfc-404b-b69f-3ff351bfbffe",
40
+ "clientId": "ea640a0c-9bfc-404b-b69f-3ff351bfbffe",
41
+
42
+ // Set the URL for the Botpress WebChat JavaScript file and the messaging server
43
+ "hostUrl": "https://cdn.botpress.cloud/webchat/v0",
44
+ "messagingUrl": "https://messaging.botpress.cloud",
45
+
46
+ // Set the name of the bot that will be displayed in the WebChat interface
47
+ "botName": "Top Universities AI Counsellor",
48
+
49
+ // Set the width of the WebChat container and layout to 100% (Full Screen)
50
+ "containerWidth": "100%25",
51
+ "layoutWidth": "100%25",
52
+
53
+ // Hide the widget and disable animations
54
+ "hideWidget": true,
55
+ "disableAnimations": true,
56
+
57
+ // additional css
58
+ 'stylesheet': "https://webchat-styler-css.botpress.app/prod/code/b30514af-e04f-4323-8308-531b6579cb06/v17035/style.css",
59
+ 'enableConversationDeletion': false,
60
+ 'showPoweredBy': false,
61
+ 'botConversationDescription': "👋 Chat to know if you qualify for a counselling session!",
62
+ 'composerPlaceholder': 'Type here',
63
+ 'showCloseButton': false,
64
+ 'closeOnEscape': false,
65
+ 'showConversationsButton': false,
66
+ 'enableTranscriptDownload': false,
67
+ "avatarUrl": "https://cdn-assets-cloud.frontify.com/s3/frontify-cloud-files-us/eyJwYXRoIjoiZnJvbnRpZnlcL2FjY291bnRzXC84MVwvMjA5NzcwXC9wcm9qZWN0c1wvMjg3MDAzXC9hc3NldHNcLzBhXC81MjM2MTI4XC9mZjI1ZTcyZDg4N2RhZWQ3ZDhiMDE4NzJjNGJkOTg2Zi0xNjE0NjI2MTQwLnBuZyJ9:frontify:RdGpiOL_3z3qpPO5DXJfmNUBrcpjs-LLBgnISJWhn1k?width=2400",
68
+ });
69
+
70
+ // Opens up the Chatbot by default
71
+ // This lets users start chatting with the Chatbot without needing to click any buttons or menus.
72
+ window.botpressWebChat.onEvent(
73
+ function () {
74
+ window.botpressWebChat.sendEvent({ type: "show" });
75
+ },
76
+ ["LIFECYCLE.LOADED"]
77
+ );
78
+ </script>
79
+ </div>
80
+ </body>
81
  </html>