A simple Flask-based Python web application that provides a chat interface for users to interact with an AI agent. Currently, the AI agent echoes back the user's messages. The project is designed for easy extension to integrate real AI responses in the future.
- Web-based chat interface
- User messages and AI responses displayed in a conversational format
- Easy to customize and extend
- Python 3.x
- Flask (
pip install flask)
-
Clone the repository:
git clone https://github.com/stvflowers/python-chat-web.git cd python-chat-web -
Install dependencies:
pip install flask -
Start the Flask server:
python app.py -
Open your browser and go to http://localhost:5000
app.py- Main Flask applicationtemplates/index.html- Chat interface HTMLimg/preview.png- Project preview image
You can modify app.py to integrate a real AI backend, or update templates/index.html to change the chat UI.
