Compare commits

...

2 Commits

Author SHA1 Message Date
コマリン親衛隊
b40430d48e Update sbv2.rs 2024-12-19 07:49:43 +09:00
renovate[bot]
198f136e94 chore(deps): update dependency @types/node to v22.10.1 2024-12-08 22:51:26 +00:00
2 changed files with 13 additions and 13 deletions

View File

@@ -136,9 +136,9 @@ impl TTSModel {
/// -------
/// voice_data : bytes
/// 音声データ
fn synthesize<'p>(
&'p mut self,
py: Python<'p>,
fn synthesize(
&mut self,
py: Python,
text: String,
ident: String,
style_id: i32,
@@ -157,7 +157,7 @@ impl TTSModel {
..Default::default()
},
)?;
Ok(PyBytes::new_bound(py, &data))
Ok(PyBytes::new(py, &data))
}
fn unload(&mut self, ident: String) -> bool {

View File

@@ -17,7 +17,7 @@ importers:
version: 1.9.4
'@types/node':
specifier: ^22.7.4
version: 22.8.0
version: 22.10.1
esbuild:
specifier: ^0.24.0
version: 0.24.0
@@ -254,8 +254,8 @@ packages:
'@protobufjs/utf8@1.1.0':
resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}
'@types/node@22.8.0':
resolution: {integrity: sha512-84rafSBHC/z1i1E3p0cJwKA+CfYDNSXX9WSZBRopjIzLET8oNt6ht2tei4C7izwDeEiLLfdeSVBv1egOH916hg==}
'@types/node@22.10.1':
resolution: {integrity: sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==}
esbuild@0.24.0:
resolution: {integrity: sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==}
@@ -289,8 +289,8 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
undici-types@6.19.8:
resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==}
undici-types@6.20.0:
resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
snapshots:
@@ -424,9 +424,9 @@ snapshots:
'@protobufjs/utf8@1.1.0': {}
'@types/node@22.8.0':
'@types/node@22.10.1':
dependencies:
undici-types: 6.19.8
undici-types: 6.20.0
esbuild@0.24.0:
optionalDependencies:
@@ -486,9 +486,9 @@ snapshots:
'@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0
'@types/node': 22.8.0
'@types/node': 22.10.1
long: 5.2.3
typescript@5.6.3: {}
undici-types@6.19.8: {}
undici-types@6.20.0: {}