Spaces:
Sleeping
Sleeping
unknown commited on
Commit ·
6105d5c
1
Parent(s): dfd60ac
going back to older version
Browse files- templates/index2.html +3 -3
templates/index2.html
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
<html>
|
| 3 |
<head>
|
| 4 |
<title>Async Chatbot</title>
|
| 5 |
-
<
|
| 6 |
-
<script >
|
| 7 |
async function sendMessage() {
|
| 8 |
const inputEl = document.getElementById("userInput");
|
| 9 |
const statusEl = document.getElementById("status");
|
|
@@ -31,7 +31,7 @@
|
|
| 31 |
function delay(ms) {
|
| 32 |
return new Promise(resolve => setTimeout(resolve, ms));
|
| 33 |
}
|
| 34 |
-
</script>
|
| 35 |
</head>
|
| 36 |
<body>
|
| 37 |
<h2>Talk to the Bot</h2>
|
|
|
|
| 2 |
<html>
|
| 3 |
<head>
|
| 4 |
<title>Async Chatbot</title>
|
| 5 |
+
<script src="/static/script2.js" defer></script>
|
| 6 |
+
<!-- <script >
|
| 7 |
async function sendMessage() {
|
| 8 |
const inputEl = document.getElementById("userInput");
|
| 9 |
const statusEl = document.getElementById("status");
|
|
|
|
| 31 |
function delay(ms) {
|
| 32 |
return new Promise(resolve => setTimeout(resolve, ms));
|
| 33 |
}
|
| 34 |
+
</script> -->
|
| 35 |
</head>
|
| 36 |
<body>
|
| 37 |
<h2>Talk to the Bot</h2>
|