This is the frontend of the AI-powered Fashion Chatbot built using Streamlit. It provides an elegant interface for users to ask fashion-related questions and receive smart, AI-generated responses from the backend API.
- Beautiful UI with custom CSS styling
- Chat interface with assistant/user bubbles
- Predefined suggestions (buttons) for quick questions
- Real-time API communication with the backend
- Styled with light backgrounds and soft shadows for modern aesthetics
- Frontend Framework: Streamlit
- Language: Python
- Backend API: FastAPI (hosted separately on Render)
- Deployment: Streamlit + Render
bash git clone https://github.com/sumit9000/fashion-chatbot-frontend.git cd fashion-chatbot-frontend
bash pip install -r requirements.txt
Edit the API_URL in app.py:
python API_URL = " "
✅ Ensure your backend API is live and accepting POST requests.
bash streamlit run app.py
The app will open in your browser at http://localhost:8501.
-
Push this repo to GitHub.
-
Go to https://render.com → New → Web Service.
-
Select Python → Add your repo.
-
Use:
- Start Command: streamlit run app.py
- Build Command: pip install -r requirements.txt
-
Add environment variable if needed: API_URL (optional if hardcoded).
- "What are the trends for summer?"
- "Suggest an outfit for a casual day."
- "Help me find a dress for a wedding."
- "What goes with a blue suit?"
Built by Sumit Kumar
This project is licensed under the MIT License.
