Spaces:
Runtime error
copy of the metadata with keyboard
I can see the metadata of every generated image in the gallery, nice, but I do not know how to save the metadata with one click or a key. Is there a way for doing this? thanks
Hey
@huggingamour
, sorry for the late answer, I missed your message. On which Space are you using the User Gallery feature?
Asking because in the last version of it, you can export all of your data in a zip file, including the metadata. To save metadata with the image you just have to provide it as a json-compatible dictionary: save_image(image, ..., metadata={...})
.
Hope this will help you ๐ค
A possible new feature would be to have all of those metadata directly in the interface. To do that, we would need to create a custom gradio component since the current gr.Gallery can only display images with a label. Do you think you would benefit from such a feature or the export is enough?