Allow image uploader to upload more than 1 image

#18
by lewtun HF staff - opened
HuggingFaceM4 org

The advanced settings of the demo show how one can interact with more than 1 image at a time. It would be nice if one could just select N images in the uploaded and skip the special token formatting altogether (i.e. handle it in the backend)

Screenshot 2023-08-22 at 09.57.30.png

HuggingFaceM4 org

cc @dawood for the gradio part. my understanding is that it requires some more work on radio side
that is definitely a pro-user trick

HuggingFaceM4 org

You can setup the upload button to handle uploading multiple images at once. gr.UploadButton(file_count="multiple")

Sign up or log in to comment