omnius 1.0.619 → 1.0.620
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -2
- package/dist/scripts/live-nemotron.py +2 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -683654,6 +683654,7 @@ var init_listen = __esm({
|
|
|
683654
683654
|
registeredBrokerName = null;
|
|
683655
683655
|
lastVadSpeech = null;
|
|
683656
683656
|
lastVisibleVadAt = 0;
|
|
683657
|
+
stderrTail = "";
|
|
683657
683658
|
get ready() {
|
|
683658
683659
|
return this._ready;
|
|
683659
683660
|
}
|
|
@@ -683702,6 +683703,7 @@ var init_listen = __esm({
|
|
|
683702
683703
|
"--silence-ms",
|
|
683703
683704
|
silenceMs
|
|
683704
683705
|
];
|
|
683706
|
+
this.stderrTail = "";
|
|
683705
683707
|
this.process = spawn33(
|
|
683706
683708
|
pyPath,
|
|
683707
683709
|
workerArgs,
|
|
@@ -683785,7 +683787,11 @@ var init_listen = __esm({
|
|
|
683785
683787
|
});
|
|
683786
683788
|
this.process.stderr?.on("data", (data) => {
|
|
683787
683789
|
const text2 = data.toString().trim();
|
|
683788
|
-
if (text2)
|
|
683790
|
+
if (text2) {
|
|
683791
|
+
this.stderrTail = `${this.stderrTail}
|
|
683792
|
+
${text2}`.slice(-2e3);
|
|
683793
|
+
this.emit("status", text2);
|
|
683794
|
+
}
|
|
683789
683795
|
});
|
|
683790
683796
|
onChildError(this.process, (err) => {
|
|
683791
683797
|
clearTimeout(timeout2);
|
|
@@ -683796,7 +683802,9 @@ var init_listen = __esm({
|
|
|
683796
683802
|
if (!this._ready) {
|
|
683797
683803
|
clearTimeout(timeout2);
|
|
683798
683804
|
reject(
|
|
683799
|
-
new Error(
|
|
683805
|
+
new Error(
|
|
683806
|
+
`${this.engineId} worker exited with code ${code8} before ready` + (this.stderrTail ? `: ${this.stderrTail.trim()}` : "")
|
|
683807
|
+
)
|
|
683800
683808
|
);
|
|
683801
683809
|
}
|
|
683802
683810
|
});
|
|
@@ -166,7 +166,7 @@ def _ensure_deps():
|
|
|
166
166
|
emit_status(f"Installing core deps: {', '.join(need)}...")
|
|
167
167
|
try:
|
|
168
168
|
subprocess.check_call(
|
|
169
|
-
[
|
|
169
|
+
[sys.executable, "-m", "pip", "install", *need],
|
|
170
170
|
stdout=subprocess.DEVNULL, stderr=subprocess.PIPE,
|
|
171
171
|
)
|
|
172
172
|
except subprocess.CalledProcessError as e:
|
|
@@ -185,7 +185,7 @@ def _ensure_deps():
|
|
|
185
185
|
emit_status("Installing nemo_toolkit[asr] (large — may take a few minutes)...")
|
|
186
186
|
try:
|
|
187
187
|
subprocess.check_call(
|
|
188
|
-
[
|
|
188
|
+
[sys.executable, "-m", "pip", "install", "nemo_toolkit[asr]"],
|
|
189
189
|
stdout=subprocess.DEVNULL, stderr=subprocess.PIPE,
|
|
190
190
|
timeout=600,
|
|
191
191
|
)
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.620",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.620",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED