Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const fileInput = document.getElementById("imageInput");
const analyzeBtn = document.getElementById("analyzeBtn");
const chatbox = document.getElementById("chatBox");

//here add bot message function is getting declared
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is better if you add same type of comment for better understanding of the code to the other functions too

function addBotMessage(message) {
const div = document.createElement("div");
div.className = "p-2 border rounded my-1 bg-white";
Expand Down