Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import Clarifai from 'clarifai'; #50

Open
ntikoo opened this issue Dec 7, 2022 · 2 comments
Open

import Clarifai from 'clarifai'; #50

ntikoo opened this issue Dec 7, 2022 · 2 comments

Comments

@ntikoo
Copy link

ntikoo commented Dec 7, 2022

The above-mentioned line doesn't work as the Clarifai is depreciated. what is the other way to proceed further in this project? Later in the project if still carry on it throws an error here :

app.models.predict(Clarifai.GENERAL_MODELs, 'https://samples.clarifai.com/face-det.jpg')
.then(function(response){
console.log(response)
},

@AmarKaur08
Copy link

Im also facing the same issue.Please help

@dominoto
Copy link

As I understand, if you use Clarifai through Node.js backend you should use their gRPC client. If you use it through frontend you should use REST endpoints. Check their documentation here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants