--- title: RP-AI emoji: ⚡ colorFrom: red colorTo: gray sdk: gradio sdk_version: 6.19.0 app_port: 7860 pinned: true --- # RP-AI — Grok-Style Chat Interface A modern, Grok.com-inspired chat interface featuring **28 small models** from [DavidAU](https://huggingface.co/DavidAU) on HuggingFace. ## Features - **Grok.com dark UI** — orange accent, dark theme, sleek layout - **28 DavidAU small models** (1.2B to 9B) across 4 families: LFM, Qwen, Gemma, Granite - **Model switching** — switch models on the fly from the sidebar - **Streaming responses** via Gradio + TextIteratorStreamer - **Thinking mode** toggle for chain-of-thought reasoning - **Web search** integration (DuckDuckGo, no API key needed) - **Temperature & Top-p** controls - **Responsive** mobile-friendly layout - **Markdown rendering** with KaTeX math support - **Plain HTML frontend** — no React, no Next.js, just HTML/CSS/JS ## Tech - **Backend:** Python + Gradio + Transformers (lazy model loading) - **Frontend:** Plain HTML + Tailwind CDN + Lucide icons + marked.js