From cb25f14e2df6015f65d84ede8abaf6137d60e723 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Sun, 17 Sep 2023 13:38:09 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20else=20if=E5=BF=98=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/voicevox_core/src/inference_core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/voicevox_core/src/inference_core.rs b/crates/voicevox_core/src/inference_core.rs index 64aab1ea7..9388130fb 100644 --- a/crates/voicevox_core/src/inference_core.rs +++ b/crates/voicevox_core/src/inference_core.rs @@ -24,7 +24,7 @@ impl InferenceCore { cfg_if! { if #[cfg(feature = "directml")] { Ok(*supported_devices.dml()) - } #[cfg(feature = "coreml")] { + } else if #[cfg(feature = "coreml")] { Ok(*supported_devices.coreml()) } else{ Ok(*supported_devices.cuda())