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

replace x-png with png #3002

Merged
merged 2 commits into from Jan 17, 2023
Merged

replace x-png with png #3002

merged 2 commits into from Jan 17, 2023

Conversation

abidlabs
Copy link
Member

We got some feedback recently to replace the outdated x-png MIME type with the now standard png MIME type.

I believe this closes: #2110 but if someone with a Mac/Ubuntu could confirm, that would be great

@gradio-pr-bot
Copy link
Contributor

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

@freddyaboulton
Copy link
Collaborator

I think we'll need to test on ubuntu. On my mac with Chrome I'm able to upload a png on main

Copy link
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.

nvm, I was able to verify on Safari!

This branch

image

Main

image

Copy link
Collaborator

@dawoodkhan82 dawoodkhan82 left a comment

Choose a reason for hiding this comment

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

works for me as well on mac

@abidlabs
Copy link
Member Author

Awesome thanks @freddyaboulton @dawoodkhan82 and @pcuenca for the feedback!

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.

PNG files aren't displayed while uploading
4 participants