This is a small chatbot project using the Hugging Face HugChat model and Streamlit for the interface.
Follow these steps to set up and run the chatbot on your local machine.
First, clone the repository from GitHub:
git clone https://github.com/TungTSon/AIO_Wk4_Chatbot.git
cd AIO_Wk4_Chatbot
Install the necessary dependencies. It is recommended to use either virtual environment or conda to manage your packages:
conda create --name chatbot-env python=3.10
conda activate chatbot-env
pip install -r requirements.txt
You need to sign up for an account on Hugging Face to use HugChat. You can sign up here:
https://huggingface.co/chat/
Now, you can run the chatbot: streamlit run chatbot.py