Hi @Karan_Tagde. Seems you are trying to get insight from an image through a text + image prompt and facing some issue. I recommend following the below doc :
or
Please try to import the necessary libraries and follow the code in the doc. It will resolve your issue. Else, if you have any other doubts, please provide more context.