File size: 1,734 Bytes
26e1cfd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
29
30
31
32
33
34
35
36
37
38
39
<html>
  <head>
    <title> Chatbot </title>
    <meta name="viewport" content="width=device-width">
    <link rel="shortcut icon" href="static/favicon.png" type="image/png">
    <link rel="stylesheet" href="static/css/app.css?v={% version %}">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" rel="stylesheet" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js" integrity="sha512-9khQRAUBYEJDCDVP2yw3LRUQvjJ0Pjx0EShmaQjcHa6AXiOv6qHQu9lCAIR8O+/D8FtaCoJ2c0Tf9Xo7hYH01Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js" integrity="sha512-SkmBfuA2hqjzEVpmnMt/LINrjop3GKWqsuLSSB3e7iBmYK7JuWw4ldmmxwD9mdm2IRTTi0OxSAfEGvgEi0i2Kw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="static/js/chatHandler.js?v={% version %}"></script>
    <script src="static/js/windowHandler.js?v={% version %}"></script>
    
  </head>
  <body>
  <div class="wrapper pag1">
    <div class="chat" id="chat"></div>
    <div class='input-box'>
      <textarea class='input-text' id='input-text' placeholder="Type something" type="text" autofocus=""></textarea>
      <button class='input-send' id='input-send' ></button>
      <button class='input-delete' id='input-delete' ></button>
    </div>
  </div>
  


  <script> 
    let windH = null;
    let chatH = null;

    $(document).ready(function() {
      chatH = new ChatGPT("{% token %}");
      windH = new WindowHandler();
    });

  </script>
</body>
</html>