Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sbv2_bindings/src/sbv2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 {
Expand Down
18 changes: 9 additions & 9 deletions sbv2_wasm/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading