sherpa-onnx-node
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -23,2 +23,3 @@ const os = require('os'); | ||
// do nothing; try the next option | ||
console.log(error); | ||
; | ||
@@ -29,4 +30,4 @@ } | ||
if (!found) { | ||
let msg = | ||
`Could not find sherpa-onnx. Tried\n\n ${possible_paths.join('\n ')}\n` | ||
let msg = `Could not find sherpa-onnx-node. Tried\n\n ${ | ||
possible_paths.join('\n ')}\n` | ||
if (os.platform() == 'darwin' && process.env.DYLD_LIBRARY_PATH && | ||
@@ -33,0 +34,0 @@ !process.env.DYLD_LIBRARY_PATH.includes( |
{ | ||
"name": "sherpa-onnx-node", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "Speech-to-text and text-to-speech using Next-gen Kaldi without internet connection", | ||
@@ -48,8 +48,8 @@ "main": "sherpa-onnx.js", | ||
"optionalDependencies": { | ||
"sherpa-onnx-darwin-arm64": "^1.0.17", | ||
"sherpa-onnx-darwin-x64": "^1.0.17", | ||
"sherpa-onnx-linux-x64": "^1.0.17", | ||
"sherpa-onnx-linux-arm64": "^1.0.17", | ||
"sherpa-onnx-win-x64": "^1.0.17" | ||
"sherpa-onnx-darwin-arm64": "^1.0.18", | ||
"sherpa-onnx-darwin-x64": "^1.0.18", | ||
"sherpa-onnx-linux-x64": "^1.0.18", | ||
"sherpa-onnx-linux-arm64": "^1.0.18", | ||
"sherpa-onnx-win-x64": "^1.0.18" | ||
} | ||
} |
const addon = require('./addon.js') | ||
const streaming_asr = require('./streaming-asr.js'); | ||
const non_streaming_asr = require('./non-streaming-asr.js'); | ||
const non_streaming_tts = require('./non-streaming-tts.js'); | ||
const vad = require('./vad.js'); | ||
@@ -9,2 +10,3 @@ | ||
OfflineRecognizer: non_streaming_asr.OfflineRecognizer, | ||
OfflineTts: non_streaming_tts.OfflineTts, | ||
readWave: addon.readWave, | ||
@@ -11,0 +13,0 @@ writeWave: addon.writeWave, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8325
8
240