-
-
Save amrrs/32e4f4a4c8a12f7f53bada6fbb7b4cdf to your computer and use it in GitHub Desktop.
//credit - https://huggingface.co/blog/fine-tune-wav2vec2-english (Patrick von Platen) | |
// run this on your Chrome / Browser Console (where Colab is present) | |
function ConnectButton(){ | |
console.log("Connect pushed"); | |
document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click() | |
} | |
var colab = setInterval(ConnectButton,60000); | |
// uncomment the below line and use it for clearing | |
//clearInterval(colab) |
thank you saved my life
Thank you
The only thing that I'm reciving executing codes for google collab close preventing is this error:
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'nonce-f0P7+Wi9/XD70fmRVrpebQ==' 'strict-dynamic' 'report-sample' https: http: 'unsafe-inline' https://www.google.com/js/bg/ https://support.google.com/inapp/ https://www.google.com/tools/feedback/ https://www.gstatic.com/inproduct_help/ https://www.gstatic.com/support/content/ https://scone-pa.clients6.google.com/ https://feedback-pa.clients6.google.com/ https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/".
thank you so much!
Verify Github on Galaxy. gid:oUFHiUcXSBL3JazPMaw7zH