Add CI to build HAPs for HarmonyOS (#1578)

This commit is contained in:
Fangjun Kuang
2024-11-29 21:13:01 +08:00
committed by GitHub
parent be159f943e
commit 299f2392e2
11 changed files with 376 additions and 24 deletions

View File

@@ -4,7 +4,7 @@
import { OfflineModelConfig } from 'sherpa_onnx';
export function getOfflineModelConfig(type: number): OfflineModelConfig {
const c = new OfflineModelConfig();
const c: OfflineModelConfig = new OfflineModelConfig();
switch (type) {
case 0: {
const modelDir = 'sherpa-onnx-paraformer-zh-2023-09-14'