Spaces:
Runtime error
Runtime error
| title: AI Code Generator | |
| emoji: 🤖 | |
| colorFrom: indigo | |
| colorTo: blue | |
| sdk: gradio | |
| sdk_version: 5.38.2 | |
| app_file: app.py | |
| pinned: false | |
| short_description: Generate code snippets from plain English prompts | |
| Generate code snippets from natural language prompts using Hugging Face’s StarCoder model and Gradio UI. | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| # 🤖 AI Code Generator | |
| Generate code snippets from plain English prompts using Hugging Face's StarCoder model and a clean Gradio UI. | |
| --- | |
| ## ✨ Features | |
| - Natural-language to code generation | |
| - Language selection: Python, JavaScript, Bash, HTML, Java, C++ | |
| - Powered by `bigcode/starcoder` | |
| - Free and open-source | |
| --- | |
| ## 🧪 Example Prompts | |
| - Print even numbers from 1 to 100 | |
| - Connect to a database in Java | |
| - Build a responsive navbar in HTML | |
| - Make a bash script to backup a directory | |
| --- | |
| ## 🔧 Tech Stack | |
| - [Gradio](https://gradio.app) | |
| - [Transformers](https://huggingface.co/docs/transformers) | |
| - Model: [bigcode/starcoder](https://huggingface.co/bigcode/starcoder) | |
| --- | |
| ## 📁 Project Structure |