File size: 441 Bytes
3cdd237
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<head>
    <title>Async Chatbot</title>
    <script src="/static/script2.js" defer></script>
</head>
<body>
    <h2>Talk to the Bot</h2>
    <input type="text" id="userInput" placeholder="Say something..." />
    <button onclick="sendMessage()">Send</button>

    <p><strong>Status:</strong> <span id="status">Idle</span></p>
    <p><strong>Bot:</strong> <span id="botReply"></span></p>
</body>
</html>