Closed adelavega closed 2 years ago
Example of what I'm getting for obama.jpg
:
@emdupre Tests are passing with the new library.
As far as the user is concerned, there shouldn't be too many differences except that now you need: A CLARIFAI_USER_ID
and CLARIFAI_APPLICATION_ID
in addition to your CLARIFAI_ACCESS_TOKEN
.
When you sign up for Clarifai, you can get your PAT from your profile, and you create an app which will then generate the other two IDs.
Tests are probably going to fail in CI but they are passing locally, so give it a shot in this PR if you have time.
Otherwise, this is ready to merge. Unless @qmac you want to review real quick.
Thanks, @adelavega !! I have it annotating some stimuli now, so these changes definitely get things running again ! 🚀
A few small things I was confused by :
CLARIFAI_APP_ID
rather than CLARIFAI_APPLICATION_ID
ClarifaiAPIImageExtractor
rather than the more generic ClarifaiAPIExtractor
that I interpreted from this change.Great!
Thanks for that catch on the environment name.
In the docs when I said "(and subclasses) " I meant to include the ImageExtractor.
Maybe I could put: "e.g. ClarifaiImageExtractor
" to clarify.
Awesome thank you!
I'll merge as soon as I can get tests passing
Base: 75.64% // Head: 75.30% // Decreases project coverage by -0.34%
:warning:
Coverage data is based on head (
a289ad9
) compared to base (6e5e23b
). Patch coverage: 9.09% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Closes #469
In order to make a call now, you also need to provide a
CLARIFAI_USER_ID
andCLARIFAI_APPLICATION_ID
in addition to yourCLARIFAI_ACCESS_TOKEN
.TODO: