+1
-1
| { | ||
| "name": "inferrd", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "Inferrd.com nodejs package", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+3
-5
@@ -19,7 +19,5 @@ ## Inferrd | ||
| async function makePrediction(inputs) { | ||
| const outputs = await inferrd.predict('https://api.inferrd.com/m/<key>', inputs) | ||
| } | ||
| makePrediction([0,1]) | ||
| await inferrd.predict('https://api.inferrd.com/m/<key>', inputs).then(outputs => { | ||
| // outputs will contain the array or object returned by your model | ||
| }) | ||
| ``` |
1483
0.47%22
-8.33%