Update README.md
Browse files
README.md
CHANGED
|
@@ -1,35 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# π€ AI_HUB
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
- π§
|
| 6 |
-
- β‘
|
| 7 |
|
| 8 |
This project provides a sleek **custom Flask web interface** (no Gradio) with model switching and code-friendly chat generation.
|
| 9 |
|
| 10 |
---
|
| 11 |
|
| 12 |
## π§© Features
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
-
|
| 17 |
-
-
|
|
|
|
| 18 |
|
| 19 |
---
|
| 20 |
|
| 21 |
## βοΈ Hugging Face Space Configuration
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
```yaml
|
| 26 |
-
---
|
| 27 |
-
title: AI_HUB
|
| 28 |
-
emoji: π€
|
| 29 |
-
colorFrom: blue
|
| 30 |
-
colorTo: indigo
|
| 31 |
-
sdk: docker
|
| 32 |
-
pinned: false
|
| 33 |
-
app_port: 7860
|
| 34 |
-
license: mit
|
| 35 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: AI_HUB
|
| 3 |
+
emoji: π€
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
+
license: mit
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
# π€ AI_HUB
|
| 13 |
|
| 14 |
+
AI_HUB is a custom Hugging Face Space built using Docker, running two open-source coding models:
|
| 15 |
|
| 16 |
+
- π§ Qwen/Qwen2.5-Coder-1.5B
|
| 17 |
+
- β‘ deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 18 |
|
| 19 |
This project provides a sleek **custom Flask web interface** (no Gradio) with model switching and code-friendly chat generation.
|
| 20 |
|
| 21 |
---
|
| 22 |
|
| 23 |
## π§© Features
|
| 24 |
+
|
| 25 |
+
- π Two high-quality 1.5B coding models.
|
| 26 |
+
- π§° Docker-based environment (full control, no SDK limits).
|
| 27 |
+
- π₯οΈ Custom frontend with HTML/CSS/JS.
|
| 28 |
+
- π§ Model selection between Qwen and DeepSeek.
|
| 29 |
+
- π¬ Simple chat interface for quick experimentation.
|
| 30 |
|
| 31 |
---
|
| 32 |
|
| 33 |
## βοΈ Hugging Face Space Configuration
|
| 34 |
|
| 35 |
+
- `sdk: docker` tells Hugging Face to use your Dockerfile.
|
| 36 |
+
- `app_port: 7860` exposes the Flask app inside the container.
|
| 37 |
+
- `pinned: false` indicates the Space is not pinned.
|
| 38 |
+
|
| 39 |
+
Reference: [Spaces Config Reference](https://huggingface.co/docs/hub/spaces-config-reference)
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
---
|
| 42 |
+
|
| 43 |
+
## π Run Locally
|
| 44 |
+
|
| 45 |
+
```bash
|
| 46 |
+
git clone https://huggingface.co/spaces/<your-username>/AI_HUB
|
| 47 |
+
cd AI_HUB
|
| 48 |
+
docker build -t ai_hub .
|
| 49 |
+
docker run -p 7860:7860 ai_hub
|