Hello @Van, Shlesha , Thanks for using Microsoft Q&A Platform.
I have reproduced the same on my end and everything is working as expected.
Firstly, from the prediction API you can chose the URL based on the image option we are calling through the code. In the given exercise the code we are following for predicting the image is through URL (where images are stored) and we have already set that body under img
(code Line 13). You can learn more about prediction API here: https://learn.microsoft.com/en-us/azure/ai-services/custom-vision-service/use-prediction-api
So, in this case we have to choose the prediction URL that supports image URL. Copy the first URL till the end and paste it in the code and save the file.
Then your output should look something like this, and you can also verify the image here: https://github.com/MicrosoftLearning/AI-900-AIFundamentals/blob/main/data/vision/animals/animal-1.jpg
I hope this helps. Please let us know if you still face issues.
Regards,
Vasavi
-Please kindly accept
the answer and vote 'yes'
if you feel helpful to support the community, thanks.