A newer version of the Gradio SDK is available: 4.43.0
4.43.0
Code used to make Google Colab work correctly
Thanks to https://github.com/kalomaze/externalcolabcode