Aryan-Ghadekar commited on
Commit
8e52ba3
·
1 Parent(s): e090602

Deployment

Browse files
Files changed (2) hide show
  1. build.sh +5 -0
  2. render.yaml +13 -0
build.sh ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # exit on error
3
+ set -o errexit
4
+ pip install --upgrade pip
5
+ pip install -r requirements.txt
render.yaml ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ - type: web
3
+ name: voice-detection-api
4
+ env: python
5
+ plan: free # Change to 'starter' for always-on service
6
+ buildCommand: pip install -r requirements.txt
7
+ startCommand: python run.py --host 0.0.0.0 --port $PORT
8
+ envVars:
9
+ - key: PYTHON_VERSION
10
+ value: 3.11.0
11
+ - key: PORT
12
+ generateValue: true # Render will auto-assign
13
+ healthCheckPath: /api/v1/health