Update processing_phi3_v.py

#30

This model was not able to process list of numpy arrays (and probably with pytorch tensors)
you can try yourself in the example code on this model card. Just use 'np.array(Image.open(requests.get(url, stream=True).raw)) '

image.png

I solved this issue implementing a function to convert any type of valid image to PIL Image object.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment