Skip to content
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

Support info with gr.Image #3511

Closed
1 task done
hysts opened this issue Mar 19, 2023 · 0 comments · Fixed by #8930
Closed
1 task done

Support info with gr.Image #3511

hysts opened this issue Mar 19, 2023 · 0 comments · Fixed by #8930
Assignees
Labels
enhancement New feature or request 🖼️ image Image component
Milestone

Comments

@hysts
Copy link
Collaborator

hysts commented Mar 19, 2023

  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.

I think the info feature is awesome, but currently gr.Image doesn't seem to support it. It would be nice if we could add info to the image component as well.

Additional context
When I made this Space, I was initially thinking of adding instruction with info, but I realized that it wasn't supported, so I used gr.Markdown instead. Using gr.Markdown is OK, but info feature would be useful for image component as well, especially when using sketchpad with input image, because it would probably require instruction on what to draw with the sketchpad function.

Also, other than sketchpad, sometimes there might be some assumption on input images, like it has to be a human face, etc., so info field would be useful for such cases too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🖼️ image Image component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants