forked from scalableminds/chatroom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.html
28 lines (28 loc) · 782 Bytes
/
debug.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="./dist/Chatroom.css">
<style>
* {
font-family: "Open Sans", Helvetica, "Helvetica Neue", sans-serif;
box-sizing: border-box;
}
</style>
<title>Chatroom Debugger</title>
</head>
<body>
<div class="chat-container"></div>
<script src="./dist/Chatroom.js"></script>
<script type="text/javascript">
window.chatroom = new window.DebugChatroom({
title: "Chat with a bot",
container: document.querySelector(".chat-container"),
welcomeMessage: "Nice to meet you.",
host: "http://localhost:5005",
speechRecognition: "en-US",
});
</script>
</body>
</html>