-
Notifications
You must be signed in to change notification settings - Fork 27.7k
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
Google Colab (free plan) Web-UI breaks if file response is bigger than 2MB #588
Comments
Even pro has the same issue but I also don't think that this is related to the size. Note : you can add this :
At the end of your colab to be able to visualize the terminal's output and see more easily if anything is still running. |
You don't need to loop, you can just add |
upstream |
I found a simple workaround as long as Gradio is not working properly. Using the latest Colab from https://colab.research.google.com/drive/1kw3egmSn-KgWsikYvOMjJkVDsPLjEMzl In cell 5 add the installation of ngrok
In cell 6
you need an account from https://ngrok.com/ and the auth token (see ngrok_token) |
skip process if nothing to do
The Google Colab https://colab.research.google.com/drive/1Iy-xW9t1-OQWhb0hNxueGij8phCyluOh) doesn't work with a batch count higher than two because requests fail when the file response is bigger than 2MB. This also applies to upscales or anything where the file response is bigger than 2MB.
I don't know if this is a limitation of Colab or Gradio but there seems to be no exception handling, that's why all buttons become unresponsive afterwards and you have to reload the page, losing all your inputs.
Any way to fix this with a config parameter or so?
The text was updated successfully, but these errors were encountered: