Abid commited on
Commit
476537b
β€’
1 Parent(s): bc71156

From docker to Heroku-20

Browse files
Dockerfile β†’ Docker/Dockerfile RENAMED
File without changes
heroku.yml β†’ Docker/heroku.yml RENAMED
File without changes
requirements_heroku.txt β†’ Docker/requirements_heroku.txt RENAMED
File without changes
requirements.txt CHANGED
@@ -1,13 +1,15 @@
1
- dvc==1.11.15
2
- fastai==2.2.5
3
- torch==1.7.0
4
- h5py==2.10.0
5
- opencv-python==4.4.0.42
6
- tqdm==4.52.0
7
- numpy==1.19.4
8
- scikit-learn==0.23.2
9
- dagshub==0.1.6
10
- tables==3.6.1
 
11
  fastapi
12
  gradio
13
- uvicorn
 
 
1
+ -f https://download.pytorch.org/whl/cpu/torch_stable.html
2
+ dvc
3
+ fastai
4
+ torch==1.10.2+cpu
5
+ h5py
6
+ opencv-python-headless
7
+ tqdm
8
+ numpy
9
+ scikit-learn
10
+ dagshub
11
+ tables
12
  fastapi
13
  gradio
14
+ uvicorn
15
+ jinja2
setup.sh CHANGED
@@ -1,2 +1,2 @@
1
  export GRADIO_SERVER_NAME=0.0.0.0
2
- export GRADIO_SERVER_PORT="$PORT" || 8080
 
1
  export GRADIO_SERVER_NAME=0.0.0.0
2
+ export GRADIO_SERVER_PORT="$PORT"