diff --git a/sbv2_bindings/src/sbv2.rs b/sbv2_bindings/src/sbv2.rs index 4e2efca..a6c9380 100644 --- a/sbv2_bindings/src/sbv2.rs +++ b/sbv2_bindings/src/sbv2.rs @@ -141,4 +141,8 @@ impl TTSModel { )?; Ok(PyBytes::new_bound(py, &data)) } + + fn unload(&mut self, ident: String) -> bool { + self.model.unload(ident) + } }