download

open override fun download(id: String, url: String): Flow<DownloadState>(source)

Downloads a local model archive, unpacks zip files, and emits progress states.

Return

Download progress, completion, or error state stream.

Author

Dmitriy Moroz

Parameters

id

Local model identifier that also names the destination directory.

url

Remote model archive URL.