forked from scalableminds/chatroom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·38 lines (38 loc) · 1.29 KB
/
index.html
1
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/chatroom@master/dist/Chatroom.css" />
<link rel="stylesheet" type="text/css" href="./index.css">
<title>Chatroom Example</title>
</head>
<body>
<div class="chat-container"></div>
<!-- <script src="./chatroom.js"></script> -->
<script src="https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/chatroom@master/dist/Chatroom.js"/></script>
<script type="text/javascript">
<<<<<<< HEAD
window.chatroom = new window.Chatroom({
title: "Chat with a bot",
container: document.querySelector(".chat-container"),
welcomeMessage: "Nice to meet you.",
host: "http://localhost:5055",
speechRecognition: "en-US",
});
window.chatroom.openChat();
</script>
=======
window.chatroom = new window.Chatroom({
title: "Chat with a bot",
container: document.querySelector(".chat-container"),
welcomeMessage: "Nice to meet you.",
host: "http://localhost:5005",
speechRecognition: "en-US",
voiceLang: "en-US"
});
window.chatroom.openChat();
</script>
>>>>>>> 88ce232c6d509f5547d8bccfd7bb04b7149bf443
</body>
</html>