File size: 940 Bytes
b144cb7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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