CodeLlama Copilot (Web AI Coding Assistant)
Conversational code assistant powered by Meta's CodeLlama-Instruct.
Features
- Write, fix & explain code interactively
- Multi-round chat (remembers context)
- Runs entirely in your cloud workspace (private!)
How to deploy on Hugging Face Spaces (FOR FREE)
Because HF provides free hosting & free CPUs (much better with Pro account + GPU though).
Step-by-step:
- Sign up or login at huggingface.co
- Go to: https://huggingface.co/spaces
- Click New Space
- Name it, select Gradio as SDK
- Set it Public (private needs a paid plan)
- Once created, open the Space repo UI
- Upload app.py and requirements.txt exactly as above.
- Save and click "Commit"
- Wait ~1–2 mins: it will build & launch!
URL formed as:
https://huggingface.co/spaces/<your-username>/<space-name>
- Use it live — share link with friends.
Notes
- Free Spaces use CPU, so can be slow / timeout for big models.
- Upgrade to Hugging Face Pro ~$9/mo → Choose A10G GPU in Space hardware settings for FULL performance.
- Absolutely no server hassles. Just upload files!
(Optional) Run locally:
pip install -r requirements.txt
python app.py