We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
await hf.visualQuestionAnswering({ model: 'dandelin/vilt-b32-finetuned-vqa', inputs: { question: 'what the content of this picture', image: raw_image, }, })
I use above code, but there was a error TypeError: hf.visualQuestionAnswering is not a function
TypeError: hf.visualQuestionAnswering is not a function
I found out that visualQuestionAnswering doesn't exist on instances of hf
visualQuestionAnswering
hf
The text was updated successfully, but these errors were encountered:
Can you give the full code? or console.log(hf)?
console.log(hf)
Sorry, something went wrong.
Please also check inference package version, visualQuestionAnswering appears in v2.2.0
Yes I updated the version and it solved the problem,THX,I think i can close this issue
No branches or pull requests
I use above code, but there was a error
TypeError: hf.visualQuestionAnswering is not a function
I found out that
visualQuestionAnswering
doesn't exist on instances ofhf
The text was updated successfully, but these errors were encountered: