On 21 April 2023 Google blocked usage of Stable Diffusion with a free account on colab. You need a paid plan to use it.
Apparently there are ways around it, but I just switched to runpod.io. It's very cheap (around $0.80/h for a 4090 including storage) and having a real terminal is worth it.