mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-10 16:32:55 +00:00
fix
This commit is contained in:
@@ -55,6 +55,7 @@ impl TTSModelHolder {
|
||||
pub fn models(&self) -> Vec<String> {
|
||||
self.models.iter().map(|m| m.ident.to_string()).collect()
|
||||
}
|
||||
|
||||
pub fn load_sbv2file<I: Into<TTSIdent>, P: AsRef<[u8]>>(
|
||||
&mut self,
|
||||
ident: I,
|
||||
@@ -83,6 +84,7 @@ impl TTSModelHolder {
|
||||
self.load(ident, style_vectors.unwrap(), vits2.unwrap())?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn load<I: Into<TTSIdent>, P: AsRef<[u8]>>(
|
||||
&mut self,
|
||||
ident: I,
|
||||
|
||||
Reference in New Issue
Block a user