Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 committed Sep 22, 2024
1 parent dd8ae77 commit 3103fce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbv2_bindings/src/sbv2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use pyo3::prelude::*;
use pyo3::types::PyBytes;
use sbv2_core::tts::TTSModelHolder;
use sbv2_core::tts::{TTSModelHolder, SynthesizeOptions};

use crate::style::StyleVector;

Expand Down Expand Up @@ -130,7 +130,7 @@ impl TTSModel {
length_scale: f32,
) -> anyhow::Result<Bound<PyBytes>> {
let data = self.model.easy_synthesize(
ident,
ident.as_str(),
&text,
style_id,
SynthesizeOptions {
Expand Down

0 comments on commit 3103fce

Please sign in to comment.