mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-05 05:52:56 +00:00
lol
This commit is contained in:
BIN
output.wav
BIN
output.wav
Binary file not shown.
@@ -29,9 +29,9 @@ async fn synthesize(
|
||||
tts_model
|
||||
} else {
|
||||
*tts_model = Some(TTSModel::new(
|
||||
env::var("BERT_MODEL_PATH")?,
|
||||
env::var("MAIN_MODEL_PATH")?,
|
||||
env::var("STYLE_VECTORS_PATH")?,
|
||||
&env::var("BERT_MODEL_PATH")?,
|
||||
&env::var("MAIN_MODEL_PATH")?,
|
||||
&env::var("STYLE_VECTORS_PATH")?,
|
||||
)?);
|
||||
tts_model.as_ref().unwrap()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user