Skip to content

Commit e297fca

Browse files
committed
fix(local-inference): resolve OpenVINO ASR worker from repo layout
1 parent be293aa commit e297fca

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

plugins/plugin-local-inference/src/services/voice/openvino-whisper-asr.js

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/plugin-local-inference/src/services/voice/openvino-whisper-asr.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@ function resolveWorkerScript(): string | null {
7474
if (env) return existsSync(env) ? env : null;
7575
const here = path.dirname(new URL(import.meta.url).pathname);
7676
return firstExisting([
77+
path.resolve(
78+
here,
79+
"..",
80+
"..",
81+
"..",
82+
"..",
83+
"..",
84+
"packages",
85+
"app-core",
86+
"scripts",
87+
"openvino-whisper-asr-worker.py",
88+
),
7789
path.resolve(
7890
here,
7991
"..",

0 commit comments

Comments
 (0)