colab keep running after disconnecting code example
Example: prevent colab from disconnecting
function ClickConnect(){
console.log("Clicked on connect button");
document.querySelector("colab-connect-button").click()
}
setInterval(ClickConnect,60000)