Skip to content

Commit

Permalink
Merge branch 'main' into change-liberate-voicevox-core
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Nov 2, 2024
2 parents f9e3cde + a8131d9 commit 09ffd63
Show file tree
Hide file tree
Showing 8 changed files with 742 additions and 413 deletions.
8 changes: 4 additions & 4 deletions crates/voicevox_core/src/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ mod tests {
},
);
let model = &crate::nonblocking::VoiceModelFile::sample().await.unwrap();
let model_contents = &model.read_inference_models().await.unwrap();
let result = status.insert_model(model.header(), model_contents);
let model_contents = &model.inner().read_inference_models().await.unwrap();
let result = status.insert_model(model.inner().header(), model_contents);
assert_debug_fmt_eq!(Ok(()), result);
assert_eq!(1, status.loaded_models.lock().unwrap().0.len());
}
Expand All @@ -431,8 +431,8 @@ mod tests {
},
);
let vvm = &crate::nonblocking::VoiceModelFile::sample().await.unwrap();
let model_header = vvm.header();
let model_contents = &vvm.read_inference_models().await.unwrap();
let model_header = vvm.inner().header();
let model_contents = &vvm.inner().read_inference_models().await.unwrap();
assert!(
!status.is_loaded_model(model_header.manifest.id),
"model should not be loaded"
Expand Down
Loading

0 comments on commit 09ffd63

Please sign in to comment.