[Install Python] https://www.dataquest.io/blog/installing-python-on-mac/
[Install pip] https://phoenixnap.com/kb/install-pip-mac
If you have Python & pip installed then check their version in the terminal or command line tools
python3 --version
pip --version
In your terminal run the requirements.txt file using this pip
pip install -r requirements.txt
The Chatbot is constructed using the Microsoft/DialoGPT-medium model.
https://huggingface.co/microsoft/DialoGPT-medium
var userHtml = '<div class="d-flex justify-content-end mb-4"><div class="msg_cotainer_send">' + user_input + '<span class="msg_time_send">'+ time +
'</span></div><div class="img_cont_msg"><img src="https://i.ibb.co/d5b84Xw/Untitled-design.png" class="rounded-circle user_img_msg"></div></div>';
var botHtml = '<div class="d-flex justify-content-start mb-4"><div class="img_cont_msg"><img src="https://i.ibb.co/fSNP7Rz/icons8-chatgpt-512.png" class="rounded-circle user_img_msg"></div><div class="msg_cotainer">' + bot_response + '<span class="msg_time">' + time + '</span></div></div>';