Skip to content

Commit

Permalink
Update README.md with new download link for the models and remove all…
Browse files Browse the repository at this point in the history
… bentoml steps.
  • Loading branch information
SpringsteinM committed Oct 10, 2024
1 parent 3fcc567 commit 46113de
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
21 changes: 7 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,14 @@

2. Run `install.sh` to download and extract models:
```sh
mkdir -p data/models
mkdir -p data/tmp
mkdir -p data/predictions/thumbnails
mkdir -p data/media
mkdir -p data/analyser
mkdir -p data/bentoml
mkdir -p data/backend_cache
wget https://tib.eu/cloud/s/2z3ocpRaMbjnRrF/download/models.tar.gz
mkdir data/cache
mkdir data/analyser
mkdir data/media
mkdir data/tmp
mkdir data/predictions
mkdir data/backend_cache
wget wget https://tib.eu/cloud/s/xLXEEsf99KPYcoW/download/models.tar.gz
tar -xf models.tar.gz --directory data/
# CPU only
wget https://tib.eu/cloud/s/MnkZjS87DZKa79Z/download/bentoml.tar.gz
tar -xf bentoml.tar.gz --directory data/
# GPU only
wget https://tib.eu/cloud/s/EnQB67NsN7Y7MFX/download/bentoml_cuda.tar.gz
tar -xf bentoml_cuda.tar.gz --directory data/bentoml
```

3. Build and start the container:
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ services:
source: ./data/tmp
target: /tmp

depends_on:
- postgres

restart: always

working_dir: /app/backend/
environment:
- PYTHONPATH=/app:/app/backend/
Expand Down Expand Up @@ -161,6 +166,7 @@ services:
- type: bind
source: ./data/tmp
target: /tmp


working_dir: /app/backend/
environment:
Expand All @@ -171,6 +177,9 @@ services:
depends_on:
- postgres
- memcached
- backend_celery

restart: always

frontend:
image: frontend
Expand Down

0 comments on commit 46113de

Please sign in to comment.