Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,11 +1,31 @@
|
|
| 1 |
-
# AI Code Generator
|
| 2 |
|
| 3 |
-
|
| 4 |
-
Deploy it on [Hugging Face Spaces](https://huggingface.co/spaces) for free.
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
Built with Gradio + Transformers.
|
|
|
|
| 1 |
+
# 🤖 AI Code Generator
|
| 2 |
|
| 3 |
+
Generate code snippets from plain English prompts using Hugging Face's StarCoder model and a clean Gradio UI.
|
|
|
|
| 4 |
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
## ✨ Features
|
| 8 |
+
- Natural-language to code generation
|
| 9 |
+
- Language selection: Python, JavaScript, Bash, HTML, Java, C++
|
| 10 |
+
- Powered by `bigcode/starcoder`
|
| 11 |
+
- Free and open-source
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## 🧪 Example Prompts
|
| 16 |
+
- Print even numbers from 1 to 100
|
| 17 |
+
- Connect to a database in Java
|
| 18 |
+
- Build a responsive navbar in HTML
|
| 19 |
+
- Make a bash script to backup a directory
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## 🔧 Tech Stack
|
| 24 |
+
- [Gradio](https://gradio.app)
|
| 25 |
+
- [Transformers](https://huggingface.co/docs/transformers)
|
| 26 |
+
- Model: [bigcode/starcoder](https://huggingface.co/bigcode/starcoder)
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## 📁 Project Structure
|
| 31 |
|
|
|