Skip to content

core.models.model_downloader

model_downloader

Classes:

Name Description
ModelDownloader

Handles downloading and optional extraction of model files.

ModelDownloader

Handles downloading and optional extraction of model files.

Methods:

Name Description
download_and_process

Download a model file and extract it if compressed.

download_and_process(model_file, destination_path)

Download a model file and extract it if compressed.

Parameters:

Name Type Description Default
model_file
ModelFile

The file to download.

required
destination_path
str

Target directory for the downloaded file.

required

Returns:

Name Type Description
str str

Path to the extracted or raw file.