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

Unable to transmit large image (>1 MB) #75

Closed
BhavanJ opened this issue Nov 4, 2020 · 6 comments
Closed

Unable to transmit large image (>1 MB) #75

BhavanJ opened this issue Nov 4, 2020 · 6 comments
Assignees

Comments

@BhavanJ
Copy link

BhavanJ commented Nov 4, 2020

Hi all,

First of all very nice work. I would like to mention that the image input component doesn't seem to allow one to transmit large images (> 1MB or so) to the machine running the demo. It simply displays in red, "error" at the top right of the image input on the web demo, and I don't get any data or messages on the machine hosting the demo. Can you please look into this?

Thanks,
Bhavan

@abidlabs
Copy link
Member

abidlabs commented Nov 4, 2020

Thanks @BhavanJ, your feedback helps a lot! To help us diagnose this, can you tell us whether this was through a public link (xxxx.gradio.app), or was this with gradio running locally?

@BhavanJ
Copy link
Author

BhavanJ commented Nov 5, 2020

Thanks @abidlabs for getting back on this. It was through gradio running locally.

@BhavanJ
Copy link
Author

BhavanJ commented Nov 13, 2020

@abidlabs, were you able to check on this?

@abidlabs
Copy link
Member

abidlabs commented Nov 13, 2020

Sorry for the delay, @aliabid94 is looking into it. Ali, can you let us know what you found?

@aliabid94
Copy link
Collaborator

@BhavanJ I haven't been able to reproduce this, even with very large images. Can you confirm you are running the latest version of Gradio? If you can provide more information about the images that are failing, such as extension type or even a link to the image, and if you could provide the browser console error message, that would help us pursue the solution

@BhavanJ
Copy link
Author

BhavanJ commented Nov 25, 2020

@aliabid94 Thanks for getting back. I figured out the issue, sorry it was not issue with Gradio. It was happening because, I was using nginx as a web server for load-balancing and nginx had a file size limit. I had to update that limit to fix the issue. Appreciate your help on this.

@BhavanJ BhavanJ closed this as completed Nov 25, 2020
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

No branches or pull requests

3 participants