From 38507ae3ec279986417a5e1398e39245451f76ef Mon Sep 17 00:00:00 2001 From: Amr Yasser <74487632+Amr-YA@users.noreply.github.com> Date: Wed, 3 Aug 2022 01:12:16 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9efd41f..3ae0467 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,12 @@ build the project using docker, and give it a tag "language_detector" `docker build -t language_detector:latest .` ### Run with docker -tun the image built previously using the tage "language_detector" +run the image built previously using the tag "language_detector" `docker run -p 5005:5005 language_detector:latest` ## Usage ### API Post -send a text to the model using: +send a text to the model for classification using post request: `requests.post("http://localhost:5005/predict", json={"sender": "amr", "message': "text"})`