Created
December 15, 2018 05:53
-
-
Save Visrozar/144909dd4a33d97d83e26c88a6643c43 to your computer and use it in GitHub Desktop.
Clarifai API - Create a Model
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
app.models.create( | |
"golden retriever", | |
[ | |
{ "id": "golden retriever" } | |
] | |
).then( | |
function (response) { | |
console.log(response); | |
}, | |
function (err) { | |
console.log(err); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment