installLoraWeightsFromAsset abstract method

Future<void> installLoraWeightsFromAsset(
  1. String path
)

Installs the lora weights from the asset.

This method can be safely called multiple times. Lora weights will be loaded only if they doesn't exist.

To reload the lora weights, call deleteLoraWeights first.

This method should be used only for development purpose. Never embed neither model nor lora weights in the production app.

Implementation

Future<void> installLoraWeightsFromAsset(String path);