This repository contains the source code for a chatbot project.
To get started with the project, follow the instructions below.
- Clone the repository:
git clone https://github.com/Uttampatel1/ChatBot-using-HuggingfaceAPI.git
- Change into the project directory:
cd ChatBot-using-HuggingfaceAPI
- Install the required dependencies:
pip install -r requirements.txt
- Rename the
.env.example
file to.env
:
mv .env.example .env
- Open the
.env
file and replaceHUGGINGFACEHUB_API_TOKEN
with your actual Hugging Face Hub API token. This token is required for certain functionalities of the chatbot.
Run the chat_app.py
file using the chainlit
command:
chainlit run chat_app.py -w