stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: x-png vs png

Open seppviljar opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

Firefox + MBP M1

Any tab that has "Click to Upload" option has PNG upload disabled in file picker - all .png files are greyed out. Dragging png images into the box works, tho.

That's probably because accept type is an old "x-png" not just "png". Gradio seems to have made the change, too. https://github.com/gradio-app/gradio/pull/3002/files

gradio: 3.16.2  •  commit: [3715ece0]  •

Steps to reproduce the problem

  1. Select any tab to allow file upload, like PNG info
  2. Click to Upload
  3. Try to select a PNG file
  4. not allowed in Firefox or Safari...

What should have happened?

User can select png file and load it to UI

Commit where the problem happens

3715ece0

What platforms do you use to access the UI ?

MacOS

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

not relevant, WebUI issue

List of extensions

image

Console logs

not relevant, standard webUI

Additional information

https://github.com/gradio-app/gradio/pull/3002/files

seppviljar avatar Feb 18 '23 17:02 seppviljar