joytheslothh commited on
Commit
964d30e
·
1 Parent(s): 7edf946

chore: add Render configuration for backend deployment

Browse files
Files changed (2) hide show
  1. render.yaml +9 -0
  2. requirements.txt +10 -0
render.yaml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ services:
2
+ - type: web
3
+ name: bacsense-api
4
+ env: python
5
+ buildCommand: pip install -r requirements.txt
6
+ startCommand: uvicorn "bacterial-classifier.api:app" --host 0.0.0.0 --port $PORT
7
+ envVars:
8
+ - key: PYTHON_VERSION
9
+ value: 3.10.13
requirements.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ tensorflow>=2.12.0
2
+ scikit-learn>=1.3.0
3
+ scikit-image>=0.21.0
4
+ opencv-python-headless>=4.8.0
5
+ numpy>=1.24.0
6
+ Pillow>=9.5.0
7
+ scipy>=1.11.0
8
+ fastapi
9
+ uvicorn
10
+ python-multipart