Skip to content

Commit 23eb878

Browse files
authored
Merge pull request #5 from linto-ai/next
rename linto-platform-punctuation -> linto-punctuation
2 parents 565b65d + bffe328 commit 23eb878

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/dockerhub-description.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ jobs:
1616
with:
1717
username: ${{ secrets.DOCKERHUB_USERNAME }}
1818
password: ${{ secrets.DOCKERHUB_PASSWORD }}
19-
repository: lintoai/linto-platform-punctuation
19+
repository: lintoai/linto-punctuation
2020
readme-filepath: ./README.md

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pipeline {
22
agent any
33
environment {
4-
DOCKER_HUB_REPO = "lintoai/linto-platform-punctuation"
4+
DOCKER_HUB_REPO = "lintoai/linto-punctuation"
55
DOCKER_HUB_CRED = 'docker-hub-credentials'
66

77
VERSION = ''

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# LINTO-PLATFORM-PUNCTUATION
2-
LinTO-platform-punctuation is a LinTO service for punctuation prediction. It predicts punctuation from raw text or raw transcription.
1+
# LINTO-PUNCTUATION
2+
LinTO-Punctuation is a LinTO service for punctuation prediction. It predicts punctuation from raw text or raw transcription.
33

4-
LinTO-platform-punctuation can either be used as a standalone punctuation service or deployed as a micro-service.
4+
LinTO-Punctuation can either be used as a standalone punctuation service or deployed as a micro-service.
55

66
## Table of content
77
* [Prerequisites](#pre-requisites)
@@ -47,21 +47,21 @@ For GPU capabilities, it is also needed to install
4747
The punctuation only entry point in job mode are tasks posted on a REDIS message broker using [Celery](https://github.com/celery/celery).
4848

4949
## Deploy
50-
linto-platform-punctuation can be deployed two different ways:
50+
linto-punctuation can be deployed two different ways:
5151
* As a standalone punctuation service through an HTTP API.
5252
* As a micro-service connected to a task queue.
5353

5454
**1- First step is to build the image:**
5555

5656
```bash
57-
git clone https://github.com/linto-ai/linto-platform-punctuation.git
58-
cd linto-platform-punctuation
59-
docker build . -t linto-platform-punctuation:latest
57+
git clone https://github.com/linto-ai/linto-punctuation.git
58+
cd linto-punctuation
59+
docker build . -t linto-punctuation:latest
6060
```
6161

6262
or
6363
```bash
64-
docker pull registry.linto.ai/lintoai/linto-platform-punctuation:latest
64+
docker pull registry.linto.ai/lintoai/linto-punctuation:latest
6565
```
6666

6767
**2- Download the models**
@@ -90,7 +90,7 @@ docker run --rm \
9090
-v <MODEL_PATH>:/usr/src/app/model-store/model \
9191
-p HOST_SERVING_PORT:80 \
9292
--env-file .env \
93-
linto-platform-punctuation:latest
93+
linto-punctuation:latest
9494
```
9595

9696
Also add ```--gpus all``` as an option to enable GPU capabilities.
@@ -99,8 +99,8 @@ This will run a container providing an http API binded on the host HOST_SERVING_
9999

100100

101101
### Micro-service
102-
>LinTO-platform-punctuation can be deployed as a microservice. Used this way, the container spawn celery workers waiting for punctuation tasks on a dedicated task queue.
103-
>LinTO-platform-punctuation in task mode requires a configured REDIS broker.
102+
>LinTO-Punctuation can be deployed as a microservice. Used this way, the container spawn celery workers waiting for punctuation tasks on a dedicated task queue.
103+
>LinTO-Punctuation in task mode requires a configured REDIS broker.
104104
105105
You need a message broker up and running at MY_SERVICE_BROKER. Instance are typically deployed as services in a docker swarm using the docker compose command:
106106

@@ -132,7 +132,7 @@ version: '3.7'
132132

133133
services:
134134
punctuation-service:
135-
image: linto-platform-punctuation:latest
135+
image: linto-punctuation:latest
136136
volumes:
137137
- /my/path/to/models/punctuation.mar:/usr/src/app/model-store/model
138138
env_file: .env

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.7'
22

33
services:
44
punctuation-service:
5-
image: linto-platform-punctuation:latest
5+
image: linto-punctuation:latest
66
volumes:
77
- /path/to/your/model.mar/usr/src/app/model-store/model
88
env_file: .env

document/swagger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ swagger: "2.0"
22

33
info:
44
version: "1.0.0"
5-
title: LinTo-Platform-Punctuation
5+
title: LinTO-Punctuation
66
description: Punctuation API
77
contact:
88

http_server/swagger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setupSwaggerUI(app, args):
1111
args.swagger_prefix + args.swagger_url,
1212
args.swagger_path,
1313
config={ # Swagger UI config overrides
14-
"app_name": "LinTO Platform Punctuation",
14+
"app_name": "LinTO Punctuation",
1515
"spec": swagger_yml,
1616
},
1717
)

0 commit comments

Comments
 (0)