-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Huggingface spaces web demo #13
Conversation
Hi @AK391, Thank you for making this demo! I think an auto-generation of masks is a great idea. |
@senya-ashukha yes there is a gradio sketchpad input in image components https://gradio.app/docs where a user can draw the mask but it wont be overlayed with the original image and will show separately in the interface |
@senya-ashukha added a mask painting option check it out https://huggingface.co/spaces/akhaliq/lama |
@AK391 that is great, thank you! But the mask and results are squeezed compared to the original image. It is possible to correct this? |
@senya-ashukha Hi the mask and input image are resized so that they match, unfortunately the mask currently cant be overlayed over the original image due to how the canvas input component works in gradio. |
Hi @AK391,
|
@senya-ashukha adding changes to keep aspect ratio |
Can you also change the ratio of the mask in the painting window? Will it adapt for other resolutions?
For 3 yep, by it should be as easy as show an image mask*image. No editing is needed.
|
Hi @AK391, Thank you for making the great demo! I think the possible correction is minor anyway!
|
easy to use web demo using gradio on huggingface spaces