Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 949 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 949 Bytes

AIO - Week 4: Chatbot using HugChat and Streamlit

This is a small chatbot project using the Hugging Face HugChat model and Streamlit for the interface.

Installation and Setup Instructions

Follow these steps to set up and run the chatbot on your local machine.

1. Clone the Repository

First, clone the repository from GitHub:

git clone https://github.com/TungTSon/AIO_Wk4_Chatbot.git
cd AIO_Wk4_Chatbot

2. Install Required Dependencies

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

3. Sign Up for Hugging Face

You need to sign up for an account on Hugging Face to use HugChat. You can sign up here:

https://huggingface.co/chat/

4. Run the Chatbot

Now, you can run the chatbot: streamlit run chatbot.py