Spaces:
Runtime error
Runtime error
| # Render Blueprint: https://render.com/docs/blueprint-spec | |
| # New → Blueprint → connect this repo and apply (or create a Web Service manually with the same commands). | |
| # | |
| # This app loads PyTorch + UnixCoder; use at least a Standard instance (2 GB RAM) or builds/cold starts may fail on the free tier. | |
| services: | |
| - type: web | |
| name: llm-human-code-classifier | |
| runtime: python | |
| region: oregon | |
| plan: standard | |
| buildCommand: pip install --upgrade pip && pip install -r render-requirements.txt && cd reflex_ui && reflex compile | |
| startCommand: cd reflex_ui && reflex run --env prod --single-port --frontend-port $PORT | |
| autoDeploy: true | |
| envVars: | |
| - key: NODE_VERSION | |
| value: "20.18.0" | |
| - key: PYTHON_VERSION | |
| value: "3.11.9" | |
| - key: TRANSFORMERS_CACHE | |
| value: /opt/render/project/src/.cache/huggingface | |
| - key: HF_HOME | |
| value: /opt/render/project/src/.cache/huggingface | |