Keyurjotaniya007's picture
Update README.md
3827968 verified
---
title: Gemini HTML/CSS Chatbot
emoji: πŸ’¬
colorFrom: yellow
colorTo: purple
sdk: streamlit
sdk_version: 1.32.0
app_file: app.py
pinned: false
license: apache-2.0
---
# Gemini HTML/CSS Chatbot
This Streamlit app uses **Gemini 2.5 Flash** (via LangChain + Google Generative AI) to convert website UI screenshots into **semantic, accessible, and responsive HTML + CSS** code.
---
## Features
- πŸ“ Upload a screenshot of a website UI
- 🧠 Gemini 2.5 Flash analyzes the layout
- πŸ—οΈ Generates HTML5 with proper semantic tags
- 🎨 Outputs CSS with Flexbox/Grid and media queries
- β™Ώ Adds accessibility (alt text, ARIA labels)
- πŸ“± Mobile-first responsive design
- ⚑ Live typing animation just like ChatGPT
- 🌐 Runs entirely on Hugging Face Spaces
---
## Tech Stack
| Component | Description |
|------------------|------------------------------------------|
| Streamlit | Web UI framework |
| LangChain | LLM orchestration |
| Gemini 2.5 Flash | Vision-language model by Google |
| BeautifulSoup | HTML parsing & cleanup |
| Pillow (PIL) | Image processing |
| cssutils | CSS parsing and selective rule handling |
---
## Requirements
```txt
streamlit
Pillow
beautifulsoup4
cssutils
langchain
langchain-google-genai
google-generativeai