Coder Social home page Coder Social logo

Comments (3)

tdulcet avatar tdulcet commented on July 29, 2024

Yeah, you would need to use a different method to connect your Google Drive. See this official video for a walkthrough. Your Drive storage will then automatically remount each time you run the notebook. Also see step 1 in our instructions for two notebooks I maintain for more information.

from colab-autorun-and-connect.

 avatar commented on July 29, 2024

I created new notebook changed its name copied everything in this by hand since it has `from google.colab import drive
drive_mount_path = Path("/") / "content" / "drive"
drive.mount(str(drive_mount_path))
drive_mount_path /= "My Drive"
#@markdown ---
drive_path = "Colab Notebooks/Whisper Youtube" #@param {type:"string"}
#@markdown ---
#@markdown Run this cell again if you change your Google Drive path.

drive_whisper_path = drive_mount_path / Path(drive_path.lstrip("/"))
drive_whisper_path.mkdir(parents=True, exist_ok=True)` lines I did not click to mount drive button, anyways i executed cells everything was working google colab disconnected after 2 hours, ur extension reconnected to same notebook that I did not touch anything everyth,ng according to your guide, it asked google drive permission again do you have any idea?

from colab-autorun-and-connect.

tdulcet avatar tdulcet commented on July 29, 2024

The issue is that from google.colab import drive line. You cannot use that if you want it to automatically mount your Drive storage. Instead, you would need to click the "Mount Drive" button and follow our instructions at the above link. Hope that helps...

from colab-autorun-and-connect.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.