downloadModelFromNetworkWithProgress method
Downloads the model and lora weights from the network and installs it with progress.
Model should be loaded before initialization.
This method can be safely called multiple times. Model and lora weights will be loaded only if they doesn't exist.
To reload the model, call deleteModel first. To reload the lora weights, call deleteLoraWeights first.
Implementation
@override
Stream<int> downloadModelFromNetworkWithProgress(String url,
{String? loraUrl}) {
return _loadModelWithProgress(url, loraUrl);
}