Sergidev commited on
Commit
9165fff
1 Parent(s): adfa720

Upload index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +24 -0
templates/index.html ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Persistent Memory Bot</title>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
9
+ </head>
10
+ <body>
11
+ <h1>Persistent Memory Bot</h1>
12
+ <div id="chat-container"></div>
13
+ <form id="chat-form">
14
+ <label class="switch">
15
+ <input type="checkbox" id="memory-toggle">
16
+ <span class="slider"></span>
17
+ </label>
18
+ <input type="text" id="user-input" name="user_input" placeholder="Enter your message, use the switch to toggle smart mode for faster responses but less memory. Cannot provide financial/legal advice.">
19
+ <button type="submit" id="send-button"><i class="fas fa-paper-plane"></i> Send</button>
20
+ </form>
21
+ <div id="loading-message" style="display: none;">Prompt received. Generating response...</div>
22
+ <script src="index.js"></script>
23
+ </body>
24
+ </html>