mirror of
https://github.com/neodyland/sbv2-api.git
synced 2025-12-22 23:49:58 +00:00
fix bug
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user