From 1a173771774217ad3be6f7c41733738e848e78ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20Alt=C4=B1parmak?= Date: Thu, 26 Sep 2024 16:28:17 +0300 Subject: [PATCH] Update README --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f8dbc75..a0c6b63 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ Run the service: - With GPU support: ``` -docker run --gpus '"device=0"' -p 5060:5060 --entrypoint ./start.sh huridocs/pdf-document-layout-analysis:v0.0.14 +docker run --rm --name pdf-document-layout-analysis --gpus '"device=0"' -p 5060:5060 --entrypoint ./start.sh huridocs/pdf-document-layout-analysis:v0.0.14 ``` - Without GPU support: ``` -docker run -p 5060:5060 --entrypoint ./start.sh huridocs/pdf-document-layout-analysis:v0.0.14 +docker run --rm --name pdf-document-layout-analysis -p 5060:5060 --entrypoint ./start.sh huridocs/pdf-document-layout-analysis:v0.0.14 ``` Get the segments from a PDF: @@ -44,10 +44,11 @@ Get the segments from a PDF: To stop the server: - make stop + docker stop pdf-document-layout-analysis ## Contents - [Quick Start](#quick-start) +- [Build From Source](#build-from-source) - [Dependencies](#dependencies) - [Requirements](#requirements) - [Models](#models)