Anpassat till den nya designen där Flask skapar websidor m.h.a. mallar. Webfiler (html, css, js) har flyttats till egna kataloger.

This commit is contained in:
2024-07-25 00:41:50 +02:00
parent f179e8e19b
commit ccc8e73f48
5 changed files with 42 additions and 11 deletions
+3 -2
View File
@@ -3,7 +3,8 @@
<head>
<meta charset="UTF-8">
<title>Ollama Chat</title>
<link rel="stylesheet" href="../css/clientstyle.css">
<link rel="stylesheet" href="/css/clientstyle.css">
<!-- <link rel="stylesheet" href="python_test/smartassist/src/css/clientstyle.css"> -->
</head>
<body>
<h1>Ollama Chat</h1>
@@ -13,7 +14,7 @@
<textarea id="userInput" placeholder="Type your message..." rows="5"></textarea>
<button onclick="sendMessage()">Send</button>
<script src="../js/frontend.js"></script>
<script src="/js/frontend.js"></script>
<script>
const chatContainer = document.getElementById('chatbox');