mirror of
https://github.com/neodyland/sbv2-api.git
synced 2025-12-22 23:49:58 +00:00
fix: ci
This commit is contained in:
@@ -136,6 +136,7 @@ impl TTSModel {
|
||||
/// -------
|
||||
/// voice_data : bytes
|
||||
/// 音声データ
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn synthesize<'p>(
|
||||
&'p mut self,
|
||||
py: Python<'p>,
|
||||
|
||||
@@ -21,10 +21,7 @@ pub fn load_model<P: AsRef<[u8]>>(model_file: P, bert: bool) -> Result<Session>
|
||||
#[cfg(feature = "cuda")]
|
||||
{
|
||||
#[allow(unused_mut)]
|
||||
let mut cuda = ort::execution_providers::CUDAExecutionProvider::default()
|
||||
.with_conv_algorithm_search(
|
||||
ort::execution_providers::cuda::CUDAExecutionProviderCuDNNConvAlgoSearch::Default,
|
||||
);
|
||||
let mut cuda = ort::execution_providers::CUDAExecutionProvider::default();
|
||||
#[cfg(feature = "cuda_tf32")]
|
||||
{
|
||||
cuda = cuda.with_tf32(true);
|
||||
|
||||
@@ -214,6 +214,7 @@ impl TTSModelHolder {
|
||||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::type_complexity)]
|
||||
pub fn parse_text_neo(
|
||||
&mut self,
|
||||
text: String,
|
||||
|
||||
Reference in New Issue
Block a user