Skip to content

Resize images for chatbot#2748

Merged
abidlabs merged 2 commits into
mainfrom
ch-img-fix
Nov 30, 2022
Merged

Resize images for chatbot#2748
abidlabs merged 2 commits into
mainfrom
ch-img-fix

Conversation

@abidlabs
Copy link
Copy Markdown
Member

@abidlabs abidlabs commented Nov 30, 2022

@dawoodkhan82 noticed that images are not resized in the chatbot, which can lead to a degraded experience for very large images. A quick css fix for that.

Before:

image

After:

image

Thanks for testing @dawoodkhan82!

@github-actions
Copy link
Copy Markdown
Contributor

All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-2748-all-demos

Copy link
Copy Markdown
Collaborator

@freddyaboulton freddyaboulton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @abidlabs @dawoodkhan82 !

@abidlabs abidlabs merged commit 5ce13ab into main Nov 30, 2022
@abidlabs abidlabs deleted the ch-img-fix branch November 30, 2022 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants