You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if you are attempting to return multiple image outputs from a pipeline task, all of the image data is crammed into a single binary response, which makes it almost impossible to decode and consume.
Ideally we should be returning multiple images like how we return multiple audio files, as json with each blob as image encoded to base64 string.
Currently if you are attempting to return multiple image outputs from a pipeline task, all of the image data is crammed into a single binary response, which makes it almost impossible to decode and consume.
Ideally we should be returning multiple images like how we return multiple audio files, as json with each blob as image encoded to base64 string.
api-inference-community/api_inference_community/routes.py
Lines 140 to 152 in 9748c07
The text was updated successfully, but these errors were encountered: