Clarifai / clarifai-javascript

Official Clarifai JavaScript client for browsers and node.js
https://docs.clarifai.com
Other
351 stars 81 forks source link

Requesting to Demographic model using Reactjs responding with 404 #57

Open 70Ni opened 3 years ago

70Ni commented 3 years ago

Used React js for sending request.

    app.models
        .predict(
            Clarifai.DEMOGRAPHICS_MODEL,
            this.state.input)
        .then(response => console.log(response))
        .catch(err => console.log(err))

The above code work correctly with FACE_DETECT_MODEL.