Spaces:
Running
Running
Index theme
Browse files- templates/index.html +5 -5
templates/index.html
CHANGED
@@ -6,9 +6,9 @@
|
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
<title>University Assistant</title>
|
8 |
<script src="https://cdn.tailwindcss.com"></script>
|
9 |
-
|
10 |
-
href="{{ url_for('static', filename='style.css') }}">
|
11 |
-
<link rel="stylesheet" href="../static/style.css">
|
12 |
|
13 |
<script>
|
14 |
tailwind.config = {
|
@@ -87,8 +87,8 @@
|
|
87 |
|
88 |
// Use complete URLs for images
|
89 |
const baseUrl = window.location.origin;
|
90 |
-
|
91 |
-
avatar.src = msg.isUser ? `../static/profile.png` : `../static/JUIT_icon.png`;
|
92 |
avatar.alt = msg.isUser ? "User" : "Bot";
|
93 |
|
94 |
avatar.onerror = function () {
|
|
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
<title>University Assistant</title>
|
8 |
<script src="https://cdn.tailwindcss.com"></script>
|
9 |
+
<link rel="stylesheet"
|
10 |
+
href="{{ url_for('static', filename='style.css') }}">
|
11 |
+
<!-- <link rel="stylesheet" href="../static/style.css"> -->
|
12 |
|
13 |
<script>
|
14 |
tailwind.config = {
|
|
|
87 |
|
88 |
// Use complete URLs for images
|
89 |
const baseUrl = window.location.origin;
|
90 |
+
avatar.src = msg.isUser ? `${baseUrl}/static/profile.png` : `${baseUrl}/static/JUIT_icon.png`;
|
91 |
+
// avatar.src = msg.isUser ? `../static/profile.png` : `../static/JUIT_icon.png`;
|
92 |
avatar.alt = msg.isUser ? "User" : "Bot";
|
93 |
|
94 |
avatar.onerror = function () {
|