Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Amr-YA authored Aug 2, 2022
1 parent 333975c commit 38507ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"})`

Expand Down

0 comments on commit 38507ae

Please sign in to comment.