--- title: AI_HUB emoji: 🤖 colorFrom: blue colorTo: indigo sdk: docker app_port: 7860 pinned: false license: mit task: - Text Generation - Code Generation --- # 🤖 AI_HUB AI_HUB is a custom Hugging Face Space built using Docker, running two open-source coding models: - 🧠 **Qwen / Qwen2.5-Coder-1.5B** - ⚡ **deepseek-ai / DeepSeek-R1-Distill-Qwen-1.5B** This project provides a sleek **custom Flask web interface** (no Gradio) with **model switching** and **code-friendly chat generation**. --- ## 🧩 Features - 🚀 Two high-quality 1.5B coding models - 🧰 Docker-based environment (full control, no SDK limits) - 🖥️ Custom frontend with HTML/CSS/JS - 🧠 Switch between Qwen and DeepSeek models - 💬 Simple chat interface for fast experimentation - ⚡ Supports both **code generation** and **text generation** tasks --- ## ⚙️ Hugging Face Space Configuration - `sdk: docker` → Uses your Dockerfile to build the Space - `app_port: 7860` → Exposes the Flask app inside the container - `task` → Ensures your Space appears under **Text Generation** and **Code Generation** categories --- ✅ **Tip:** After updating your README and pushing it to your Space repository, Hugging Face will automatically categorize your Space under both tasks, making it easier for users to find. - `pinned: false` indicates the Space is not pinned. Reference: [Spaces Config Reference](https://huggingface.co/docs/hub/spaces-config-reference) --- ## 🐋 Run Locally ```bash git clone https://huggingface.co/spaces//AI_HUB cd AI_HUB docker build -t ai_hub . docker run -p 7860:7860 ai_hub