Spaces:
Runtime error
Option to download as png, jpeg or regular image format
The current download option on the app downloads the file as a .webp file which is not a very common image format can it be made so that the option to download sends a png or jpeg instead
It is a bit cumbersome to make the file format switchable, but if you just want to fix PNG, this is all you need to do.
result = gr.Image(label="Generated Image")
β
result = gr.Image(label="Generated Image", format="png")
Thanks. Now should I submit a PR? π€
Technically not my code
I don't mind, but I wonder if it's okay to change the file format without permission.
They are both lossless formats, so is it okay?
Well, if it's not okay, it's okay just to get rejected.π€―
Be great if this could happen... .webp is just a pain.. on the topic, does anyone else get occasional errors.. as in empty /corrupt images ? any way to avoid ? ...am using flux Lora the explorer.. cheers in advance ..
Great. I actually forgot to open a PR. Hope it gets merged
I PRed.π
https://huggingface.co/spaces/multimodalart/flux-lora-the-explorer/discussions/34