From 96a5ab06723a743043752ae76057dbf783ba8d05 Mon Sep 17 00:00:00 2001 From: tuna2134 Date: Sun, 22 Sep 2024 07:40:46 +0000 Subject: [PATCH] fix returns type --- sbv2_bindings/src/sbv2.rs | 4 ++++ 1 file changed, 4 insertions(+) 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) + } }