Skip to content

Add function to download from Google Drive / load model from GDrive #86

@jfthuong

Description

@jfthuong

It is convenient to download directly from Google Drive.

Fortunately, a library is helping to do that: https://pypi.org/project/gdown/

url = 'https://drive.google.com/file/d/1-DUsVYgY-oMTcNhM3-znP_nlu8yFtQBr/view?usp=sharing'
output = 'model.pkl'
gdown.download(url, output, quiet=False, fuzzy=True)

This could be nice to be able to load directly the model (maybe inferring what type of pickle it is)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions