Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bypass to google drive authenication #4

Closed
ghost opened this issue Dec 9, 2022 · 3 comments
Closed

bypass to google drive authenication #4

ghost opened this issue Dec 9, 2022 · 3 comments
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Dec 9, 2022

when the extension does reconnect each time it wants to get authenicated by google drive, do you know any way to make it automatically?

@tdulcet tdulcet added the question Further information is requested label Dec 10, 2022
@tdulcet
Copy link
Owner

tdulcet commented Dec 10, 2022

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.

@ghost
Copy link
Author

ghost commented Dec 10, 2022

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?

@tdulcet
Copy link
Owner

tdulcet commented Dec 11, 2022

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...

@ghost ghost closed this as completed Dec 13, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant