Create templates/index.html
Browse files- templates/index.html +37 -0
templates/index.html
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>AI Chatbot with Memory</title>
|
| 7 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
|
| 11 |
+
<header>
|
| 12 |
+
<h1>Developed by Dhiraj Surve and Swaroop Ingavale</h1>
|
| 13 |
+
</header>
|
| 14 |
+
|
| 15 |
+
<div class="chat-container">
|
| 16 |
+
<div id="chatbox" class="chatbox">
|
| 17 |
+
<!-- Chat messages will appear here -->
|
| 18 |
+
<div class="message assistant-message">
|
| 19 |
+
<p>Hello! I'm an AI chatbot with memory. How can I help you today?</p>
|
| 20 |
+
</div>
|
| 21 |
+
</div>
|
| 22 |
+
|
| 23 |
+
<div class="input-area">
|
| 24 |
+
<input type="text" id="userInput" placeholder="Type your message...">
|
| 25 |
+
<button id="sendBtn">Send</button>
|
| 26 |
+
<!-- Optional: Add a clear memory button -->
|
| 27 |
+
<button id="clearMemoryBtn">New Chat</button>
|
| 28 |
+
</div>
|
| 29 |
+
</div>
|
| 30 |
+
|
| 31 |
+
<footer>
|
| 32 |
+
<p>© 2023 Developed by Dhiraj Surve and Swaroop Ingavale</p>
|
| 33 |
+
</footer>
|
| 34 |
+
|
| 35 |
+
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
| 36 |
+
</body>
|
| 37 |
+
</html>
|