Skip to content

Commit

Permalink
minor commit for v0.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
SilvioGiancola committed Sep 7, 2021
1 parent 3862bf6 commit 12be34e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ pip install cloudlabeling
```python
from cloudlabeling import cloudlabeling

api_token = "303630fcc6a04793ba7e09fc0336a037"
api_token = "..."
cloud_labeler = cloudlabeling.CloudLabeling(api_token=api_token)

image_path = "tools/sample_striga.jpg"

results = cloud_labeler.infer_remotely(image_path, project_id="MSCOCO")
```

Expand Down Expand Up @@ -54,6 +53,7 @@ Results output in JSON format
curl -H "Content-Type: image/jpeg" \
-H "project_id: MSCOCO" \
-H "device: cuda:0" \
-H "api_token: xxx" \
-X POST \
--data-binary @/path/to/image.jpg \
http://cloudlabeling.org:4000/api/predict
Expand Down
2 changes: 1 addition & 1 deletion cloudlabeling/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

__version_info__ = ('0', '0', '14')
__version_info__ = ('0', '0', '15')
__version__ = '.'.join(__version_info__)
__authors__ = "Silvio Giancola"
__authors_username__ = "giancos"
Expand Down

0 comments on commit 12be34e

Please sign in to comment.