Venkat V commited on
Commit
e2acd29
·
1 Parent(s): a97c2cd

updated render file

Browse files
Files changed (1) hide show
  1. render.yaml +4 -11
render.yaml CHANGED
@@ -2,19 +2,12 @@ services:
2
  - type: web
3
  name: flowchart-app
4
  env: python
5
- plan: free
6
-
7
  buildCommand: |
8
  apt-get update && apt-get install -y tesseract-ocr
9
- pip install --upgrade pip
10
  pip install -r requirements.txt
11
-
12
- startCommand: streamlit run streamlit_app.py --server.port=$PORT --server.address=0.0.0.0
13
-
14
  envVars:
15
  - key: PORT
16
- value: 10000 # Render sets this automatically, safe fallback
17
- - key: PYTHON_VERSION
18
- value: "3.10"
19
-
20
- autoDeploy: true
 
2
  - type: web
3
  name: flowchart-app
4
  env: python
 
 
5
  buildCommand: |
6
  apt-get update && apt-get install -y tesseract-ocr
 
7
  pip install -r requirements.txt
8
+ startCommand: streamlit run app.py --server.port=$PORT --server.address=0.0.0.0
9
+ plan: free
 
10
  envVars:
11
  - key: PORT
12
+ value: 10000 # This line can actually be removed if you're using $PORT above
13
+ pythonVersion: 3.10