redfernstech commited on
Commit
a1b8878
·
verified ·
1 Parent(s): 338564e

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -220,7 +220,7 @@ async function sendMessage() {
220
  return `<a href="${url}" target="_blank">${linkText}</a>`;
221
  });
222
  messageElement.innerHTML = `<span class="${sender.toLowerCase()}-icon">
223
- ${sender === "User" ? '<i class="fas fa-user"></i>' : '<img src="https://raw.githubusercontent.com/SRINIVASULU-2003/srinu/refs/heads/main/static/bot.jpeg" alt="Bot" style="width: 20px; height: 20px; border-radius: 50%;">'}
224
  </span>${formattedMessage}<div class="timestamp">${new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}</div>`;
225
  chatHistory.appendChild(messageElement);
226
  chatHistory.scrollTop = chatHistory.scrollHeight; // Scroll to bottom
 
220
  return `<a href="${url}" target="_blank">${linkText}</a>`;
221
  });
222
  messageElement.innerHTML = `<span class="${sender.toLowerCase()}-icon">
223
+ ${sender === "User" ? '<i class="fas fa-user"></i>' : '<img src="https://i.ibb.co/khk6Ywx/bot.jpg" alt="Bot" style="width: 20px; height: 20px; border-radius: 50%;">'}
224
  </span>${formattedMessage}<div class="timestamp">${new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}</div>`;
225
  chatHistory.appendChild(messageElement);
226
  chatHistory.scrollTop = chatHistory.scrollHeight; // Scroll to bottom