Colab - automatic authentication of connection to google drive, persistent per-notebook

后端 未结 1 965
一生所求
一生所求 2020-12-01 09:49

I\'m looking for a way to automate the authentication process when connecting a colab-session to my google drive.

I\'d prefer to use the built-in tools for this one,

相关标签:
1条回答
  • 2020-12-01 10:12

    Automatically mounting to your Drive files is now supported for Colab notebooks which aren't shared by multiple people.

    To enable this for a notebook, create a new Drive notebook, open the file browser, and click the 'Mount Drive' button.

    You'll see a permissions dialog like so:

    After you complete the permissions once, you'll see your Drive mounted in the file browser.

    Better still, if you reload the notebook later and reconnect, your Drive will mount automatically with no more drive.mount copy/paste required. Your Drive files will just be there.

    0 讨论(0)
提交回复
热议问题