A simple AI chatbot built using Python and Flask. It allows users to type messages into a web interface and receive intelligent responses.
AI-Python-ChatBot/
├── app.py # Flask backend
├── chatbot.py # Chatbot logic
├── templates/
│ └── index.html # Frontend HTML
├── static/
│ ├── style.css # CSS
│ └── script.js # JS
├── requirements.txt # Python dependencies
├── .env # (Optional) for environment variables
└── venv/ # Virtual environment (ignored by Git)
git clone https://github.com/bhargav8-hub/AI-Python-ChatBot.git
cd AI-Python-ChatBot
python -m venv venv
venv\Scripts\activate # On Windows
# source venv/bin/activate # On macOS/Linux
pip install -r requirements.txt
Replace YOUR_API_KEY with your actual key in .env (use deepinfra api key)
python app.py
Then visit http://127.0.0.1:5000 in your browser.
Bhargav Ade