Compare commits

...

3 Commits

Author SHA1 Message Date
tuna2134
55cedb2f6d fix dists path 2024-09-22 07:48:53 +00:00
tuna2134
f2940f4ebe bump version 2024-09-22 07:41:58 +00:00
tuna2134
96a5ab0672 fix returns type 2024-09-22 07:40:46 +00:00
4 changed files with 10 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
path: sbv2_bindings/dist
windows:
runs-on: ${{ matrix.platform.runner }}
@@ -72,7 +72,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
path: sbv2_bindings/dist
macos:
runs-on: ${{ matrix.platform.runner }}
@@ -99,7 +99,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist
path: sbv2_bindings/dist
sdist:
runs-on: ubuntu-latest
@@ -115,7 +115,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist
path: sbv2_bindings/dist
release:
name: Release

2
Cargo.lock generated
View File

@@ -1833,7 +1833,7 @@ dependencies = [
[[package]]
name = "sbv2_bindings"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"anyhow",
"ndarray",

View File

@@ -1,6 +1,6 @@
[package]
name = "sbv2_bindings"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -141,4 +141,8 @@ impl TTSModel {
)?;
Ok(PyBytes::new_bound(py, &data))
}
fn unload(&mut self, ident: String) -> bool {
self.model.unload(ident)
}
}