InstantID
InstantID copied to clipboard
ValueError: Cannot process type as image: <class 'tempfile._TemporaryFileWrapper'>
When I am running this gradio demo in my own GPU, I have this problem:
ValueError: Cannot process type as image: <class 'tempfile._TemporaryFileWrapper'>
My gradio version is 3.37.0.
Same issue, my gradio version is 3.50.2
Have you ever resloved this problem?
Run infer.py, it works.
This is because the wrong image type is getting passed. Likely the image from the Gallery is getting passed instead of file bytes. Full stack trace would be helpful.