Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
SilvioGiancola committed Aug 4, 2021
1 parent 506b65d commit f3e9337
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/content/GetStarted/7_Inference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ Note that those automatic annotations will erase your previous manual annotation

You can remote infer image by sending your image in our server.

We provide an API call for remote inference with:
We provide an API call for remote inference with::

```
curl -H "Content-Type: image/jpeg" \
-H "project_id: MSCOCO" \
-X POST \
--data-binary @/path/to/your/image.jpg \
http://cloudlabeling.org:4000/api/predict
```
Example for inference::

You can set the `project_id` to any pretrained model available on CloudLabeling, or the model you have trained in your own project, using its unique `project_id` shown in your project list.
curl -H "Content-Type: image/jpeg" \
-H "project_id: MSCOCO" \
-X POST \
--data-binary @/path/to/your/image.jpg \
http://cloudlabeling.org:4000/api/predict

You can set the *project_id* to any pretrained model available on CloudLabeling, or the model you have trained in your own project, using its unique *project_id* shown in your project list.

.. image:: ./image/3_CreateProject.png
:width: 600
Expand Down
2 changes: 1 addition & 1 deletion docs/content/GetStarted/8_APICalls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ API Calls
2. API call for inference
-----------------

Example of inference::
Example for inference::

curl -H "Content-Type: image/jpeg" \
-H "project_id: MSCOCO" \
Expand Down

0 comments on commit f3e9337

Please sign in to comment.