File size: 705 Bytes
02a797c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
  - type: web
    name: syncnet-fcn-fork
    runtime: python
    plan: free
    buildCommand: |
      apt-get update
      apt-get install -y ffmpeg libsndfile1 libsm6 libxext6 libxrender-dev libgomp1
      pip install --upgrade pip
      pip install torch==2.1.0+cpu torchvision==0.16.0+cpu --index-url https://download.pytorch.org/whl/cpu
      pip install -r requirements.txt
    startCommand: gunicorn app:app --bind 0.0.0.0:$PORT --timeout 300 --workers 1
    envVars:
      - key: PYTHON_VERSION
        value: 3.9.0
      - key: PORT
        generateValue: true
    disk:
      name: model-storage
      mountPath: /opt/render/project/src/checkpoints
      sizeGB: 1