To keep the Colab from timing out, use this.
Google Colab Keep-Alive Script
Code: Select all
function ClickConnect(){
console.log(Date().toLocaleString());
document.querySelector("document-info").click()
}setInterval(ClickConnect,60000)
In Chrome (Ctrl-Shift-i), then paste into the console.