fix: piper 二进制+依赖库+config 修正 (符号链接指向正确二进制,加 LD_LIBRARY_PATH 和 -c 参数)
This commit is contained in:
@@ -384,6 +384,12 @@ pub struct AiConfig {
|
||||
/// whisper-cli 依赖库路径 (libggml*.so 所在,部署时标定)
|
||||
#[serde(default)]
|
||||
pub whisper_lib_dir: Option<PathBuf>,
|
||||
/// piper 依赖库路径 (libespeak-ng.so / libpiper_phonemize.so 所在)
|
||||
#[serde(default)]
|
||||
pub piper_lib_dir: Option<PathBuf>,
|
||||
/// piper 模型 config json 路径 (.onnx.json)
|
||||
#[serde(default)]
|
||||
pub piper_config: Option<PathBuf>,
|
||||
/// 临时文件目录
|
||||
#[serde(default = "default_tmp_dir")]
|
||||
pub tmp_dir: PathBuf,
|
||||
|
||||
Reference in New Issue
Block a user