sherpa-onnx
Advanced tools
Comparing version 0.9.9 to 0.9.10
10
index.js
// Copyright (c) 2023-2024 Xiaomi Corporation (authors: Fangjun Kuang) | ||
"use strict" | ||
'use strict' | ||
const wasmModule = require("./sherpa-onnx-wasm-nodejs.js")(); | ||
const sherpa_onnx_asr = require("./sherpa-onnx-asr.js"); | ||
const sherpa_onnx_tts = require("./sherpa-onnx-tts.js"); | ||
const wasmModule = require('./sherpa-onnx-wasm-nodejs.js')(); | ||
const sherpa_onnx_asr = require('./sherpa-onnx-asr.js'); | ||
const sherpa_onnx_tts = require('./sherpa-onnx-tts.js'); | ||
@@ -17,3 +17,3 @@ function createOnlineRecognizer(config) { | ||
function createOfflineTts(config) { | ||
return sherpa_onnx_asr.createOfflineTts(wasmModule, config); | ||
return sherpa_onnx_tts.createOfflineTts(wasmModule, config); | ||
} | ||
@@ -20,0 +20,0 @@ |
{ | ||
"name": "sherpa-onnx", | ||
"version": "0.9.9", | ||
"version": "0.9.10", | ||
"description": "Speech-to-text and text-to-speech using Next-gen Kaldi without internet connection", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
11985547
7