Open fcole opened 9 months ago
Hi, apologies for the late follow up. We haven't had a chance to look into this issue, but the Gradio codebase has changed quite significantly since this issue was created, particularly with the release of Gradio 5. Could you let us know if this is still an issue in the latest version of Gradio (pip install --upgrade gradio
)? Thanks!
Describe the bug
For interface functions that have an output image or gallery, there seems to be some threshold of image size that changes the behavior and introduces a bug in gradio-lite. If the image is too large, spurious GET requests will be issued that look like:
GET https://www.gradio.app/file=/tmp/gradio/0915498aa2aeabbf1780f517e0941334dae69ed5/image.png 404 (Not Found)
Oddly, the image is eventually displayed correctly, it just takes an extra second and a broken image icon appearing temporarily.
The bug can be reproduced in the playground (https://www.gradio.app/playground).
Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
No response
System Info
Severity
I can work around it