roboflow
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -23,7 +23,11 @@ const chalk = require("chalk"); | ||
//fetch the version so we know which endpoint / model type to use | ||
const versionData = await api.getVersion(workspaceUrl, projectUrl, modelVersion, apiKey); | ||
if (!versionData.version.model) { | ||
throw new Error("no trained model found for this version"); | ||
} | ||
// console.log(versionData); | ||
// if (!versionData.version.model) { | ||
// throw new Error("no trained model found for this version"); | ||
// } | ||
inferenceType = versionData.project.type; | ||
@@ -30,0 +34,0 @@ } |
{ | ||
"name": "roboflow", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Roboflow.ai node module and CLI tools", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
33494
843