Skip to content

Commit

Permalink
Fix: branchを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Sep 16, 2023
1 parent 2f59d64 commit 2f6fedc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/voicevox_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ uuid.workspace = true

[dependencies.onnxruntime]
git = "https://github.com/sevenc-nanashi/onnxruntime-rs.git"
branch = "add/coreml"
# rev = "ebb9dcb9b26ee681889b52b6db3b4f642b04a250"

[dependencies.open_jtalk]
Expand Down
6 changes: 3 additions & 3 deletions crates/voicevox_core/src/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ use tracing::error;
mod model_file;

cfg_if! {
if #[cfg(not(feature="directml"))] && #[cfg(not(feature="coreml"))] {
if #[cfg(feature="coreml")] {
use onnxruntime::CoreMlProviderOptions;
} else if #[cfg(not(feature="directml"))] {
use onnxruntime::CudaProviderOptions;
} else if #[cfg(feature="coreml")] {
use onnxruntime::CoreMLProviderOptions;
}

}
Expand Down

0 comments on commit 2f6fedc

Please sign in to comment.