Adieee5 commited on
Commit
a7e7318
·
1 Parent(s): 3672af3

Index theme

Browse files
Files changed (1) hide show
  1. 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
- <!-- <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,8 +87,8 @@
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 () {
 
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 () {