-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from datarootsio/bugfix
Bugfix
- Loading branch information
Showing
11 changed files
with
92 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,8 @@ | ||
model_id: d36795f9-0376-4a4a-bc05-0fb964ee229b | ||
description: | | ||
Face masks are crucial in minimizing the propagation of COVID-19, and are highly recommended or even obligatory in many situations. | ||
This deployed model gives access to dataroots' [open-sourced](https://github.com/datarootsio/face-mask-detection) face mask detection project. | ||
You can interactively test the model below. Or you can use the model via through our API with the following steps: | ||
1. Subscribe to this model | ||
2. Copy your user-id and api-key tokens | ||
3. Perform the following request | ||
```sh | ||
curl --request POST \ | ||
--url https://${modelversion_id}.users.dploy.ai/ \ | ||
--header 'content-type: application/json' \ | ||
--header 'x-api-key: <insert your api key>' \ | ||
--header 'x-api-user: <insert your api id>' \ | ||
--data '{"image": "<insert your base64string>", "type": "png"}' | ||
``` | ||
For an example of how to use this within your application, check out our [examples](https://github.com/dploy-ai/dploy-examples) | ||
spec_version: "0.1" | ||
spec_version: v2 | ||
spec: | ||
environment: | ||
base: python:3.7 | ||
entrypoint: scripts/predict.ipynb | ||
requirements: ["requirements.txt"] | ||
replicas: 1 | ||
max_replicas: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.