Skip to content

Commit

Permalink
Typos and 3.8 rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokhozt committed Oct 26, 2022
1 parent f875586 commit a4e7a59
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .env_default_http
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# SERVING PARAMETERS
SERVICE_MODE=task
MODEL_TYPE=lin
SERVICE_MODE=http

# SERVICE DISCOVERY
SERVICE_NAME=MY_PUNCTUATION_SERVICE
LANGUAGE=

# CONCURRENCY
CONCURRENCY=2
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.8
LABEL maintainer="[email protected]"
ENV PYTHONUNBUFFERED TRUE
ENV IMAGE_NAME linto-platform-diarization
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Fill the .env with your values.
| BROKER_PASS | Service broker password (Leave empty if there is no password) | my_password |
| QUEUE_NAME | (Optionnal) overide the generated queue's name (See Queue name bellow) | my_queue |
| SERVICE_NAME | Service's name | punctuation-ml |
| LANGUAGE | Language code as a BCP-47 code | en-US or * or languages separated by "|" |
| LANGUAGE | Language code as a BCP-47 code | en-US or * or languages separated by "\|" |
| MODEL_INFO | Human readable description of the model | "Bert based model for french punctuation prediction" |
| CONCURRENCY | Number of worker (1 worker = 1 cpu) | >1 |

Expand Down Expand Up @@ -130,7 +130,7 @@ networks:
external: true
```
**2- Run with docker compose**
**3- Run with docker compose**
```bash
docker stack deploy --resolve-image always --compose-file docker-compose.yml your_stack
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ torch-model-archiver>=0.3.0
torchserve>=0.3.0
torchtext>=0.8.1
torchvision>=0.8.2
redis

0 comments on commit a4e7a59

Please sign in to comment.