joshnavip/ai-code-detection
0
AI vs Human Code Classifier
Gradio demo for Hugging Face Spaces using the same inference stack as the Reflex app (reflex_ui).
Deploy on Hugging Face
- Create a new Space, pick Gradio, then push this repository (or connect GitHub and set the repository).
- In Settings → Hardware, keep CPU Basic (free: 16 GB RAM) unless you need a GPU.
- Open the App tab. The first run may take a while while weights load.
Public URL shape: https://huggingface.co/spaces/<your-username>/<space-name> (and the .hf.space embed URL from the Space menu).
Local Gradio (optional)
pip install -r requirements.txt
python app.pyLocal Reflex UI
See reflex_ui/README.md for the full Reflex front end.
