{"id":27058414,"url":"https://github.com/mohitkumar5563/ai-codegen-gradio","last_synced_at":"2025-04-09T19:16:15.449Z","repository":{"id":286261176,"uuid":"960874573","full_name":"Mohitkumar5563/ai-codegen-gradio","owner":"Mohitkumar5563","description":"AI-Assisted Code Generation with CodeGen and Gradio","archived":false,"fork":false,"pushed_at":"2025-04-05T09:37:46.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T19:16:11.660Z","etag":null,"topics":["ai","codegen","colab","gradio","gradio-python-llm","machine-learning","nlp","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mohitkumar5563.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-05T08:51:39.000Z","updated_at":"2025-04-05T09:41:28.000Z","dependencies_parsed_at":"2025-04-05T10:37:33.325Z","dependency_job_id":null,"html_url":"https://github.com/Mohitkumar5563/ai-codegen-gradio","commit_stats":null,"previous_names":["mohitkumar5563/ai-codegen-gradio"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohitkumar5563%2Fai-codegen-gradio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohitkumar5563%2Fai-codegen-gradio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohitkumar5563%2Fai-codegen-gradio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohitkumar5563%2Fai-codegen-gradio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mohitkumar5563","download_url":"https://codeload.github.com/Mohitkumar5563/ai-codegen-gradio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094988,"owners_count":21046770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","codegen","colab","gradio","gradio-python-llm","machine-learning","nlp","python"],"created_at":"2025-04-05T12:15:12.310Z","updated_at":"2025-04-09T19:16:15.416Z","avatar_url":"https://github.com/Mohitkumar5563.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 AI Code Generation Project\n\nThis project is an **AI-powered Code Generation Tool** built using **CodeGen model**, integrated into a simple web UI using **Gradio**. You can input prompts like \"write a bubble sort function\" and the AI will generate Python code instantly.\n\n## 🚀 Features\n\n- Code generation from text prompts\n- Runs on Google Colab (with Tesla T4 GPU support)\n- Lightweight, fast inference\n- Easy-to-use web interface with Gradio\n- Model: CodeGen (Salesforce/codegen-350M-multi)\n\n## 📁 Files\n\n- `app.py` – Main app with Gradio interface\n- `model_loader.py` – Loads the model and tokenizer\n- `interface.py` – Frontend logic\n- `requirements.txt` – Dependencies to run locally (optional)\n\n## 🧠 Example Prompt\n\n\n# 🌐 How to Run (on Colab)\n\n1. Open `app.py` in Colab\n2. Run all cells\n3. The Gradio interface will appear to generate code!\n\n## 📦 Future Enhancements\n\n- Support more models (Code LLaMA, StarCoder, etc.)\n- Add download/save option for generated code\n- Improve prompt understanding\n\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohitkumar5563%2Fai-codegen-gradio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohitkumar5563%2Fai-codegen-gradio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohitkumar5563%2Fai-codegen-gradio/lists"}