Closed sherawat-Lokesh closed 1 year ago
Hey,
We have deprecated this package few months ago, we advise using https://github.com/Clarifai/clarifai-nodejs-grpc or REST calls (see "Javascript (REST)" snippets in our docs, e.g https://docs.clarifai.com/api-guide/predict/images)
i try to use Clarifai in my react project .
const app = new Clarifai.App({ apiKey: "af5a54585af246268c4c47d1cb9bf816", });
app.models.predicct(Clarifai.FACE_DETECT_MODEL, this.state.input).then( function (response) { console.log(response); }, function (error) {} );
i got error : Uncaught ReferenceError: process is not defined