srinuksv commited on
Commit
3fa5b97
1 Parent(s): 3ae6950

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -161,7 +161,7 @@
161
  const chatHistory = document.getElementById("chat-history");
162
  const messageElement = document.createElement("div");
163
  messageElement.className = `message ${className}`;
164
- const icon = sender === "User" ? '<i class="fas fa-user user-icon"></i>' : '<i class="fas fa-robot bot-icon"></i>';
165
  messageElement.innerHTML = `${icon}<div>${message} <span class="timestamp">${new Date().toLocaleTimeString()}</span></div>`;
166
  messageElement.onclick = function() {
167
  const timestamp = messageElement.querySelector('.timestamp');
 
161
  const chatHistory = document.getElementById("chat-history");
162
  const messageElement = document.createElement("div");
163
  messageElement.className = `message ${className}`;
164
+ const icon = sender === "User" ? '<i class="fas fa-user user-icon"></i>' : '<i class="fas fa-user-tie"></i>';
165
  messageElement.innerHTML = `${icon}<div>${message} <span class="timestamp">${new Date().toLocaleTimeString()}</span></div>`;
166
  messageElement.onclick = function() {
167
  const timestamp = messageElement.querySelector('.timestamp');