index.html 1018 B

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
  5. <script>
  6. globalConfig = {};
  7. </script>
  8. <meta charset="UTF-8">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. <title></title>
  11. </head>
  12. <body>
  13. <div class="header">
  14. <p id="model-name"></p>
  15. </div>
  16. <div class="chat-container" id="message-container">
  17. <div class="system-prompt-container">
  18. <textarea class="system-prompt-box" placeholder="System Prompt..." rows="2" id="system-prompt"></textarea>
  19. </div>
  20. </div>
  21. <div class="input-container">
  22. <textarea class="input-box" placeholder="Input Message..." rows="3" id="input-box"></textarea>
  23. <button class="button send" id="send-button">Send</button>
  24. <button class="button stop" id="stop-button">Stop</button>
  25. </div>
  26. <script type="module" src="/src/main.js"></script>
  27. </body>
  28. </html>