omnius 1.0.578 → 1.0.579
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 +4 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -547948,7 +547948,7 @@ function pythonCanImportLuxTts(venvPy) {
|
|
|
547948
547948
|
try {
|
|
547949
547949
|
execFileSync2(venvPy, [
|
|
547950
547950
|
"-c",
|
|
547951
|
-
"import sys, os, warnings; warnings.filterwarnings('ignore', message=r'
|
|
547951
|
+
"import sys, os, warnings; warnings.filterwarnings('ignore', message=r'.*TRANSFORMERS_CACHE.*deprecated.*', category=FutureWarning); sys.path.insert(0, os.environ['LUXTTS_REPO_PATH']); from zipvoice.luxvoice import LuxTTS; print('ok')"
|
|
547952
547952
|
], {
|
|
547953
547953
|
stdio: "pipe",
|
|
547954
547954
|
// A cold PyTorch/CUDA import can legitimately take longer than 30 s.
|
|
@@ -675149,7 +675149,7 @@ function luxttsImportProbeCommand(venvPy, repoDir) {
|
|
|
675149
675149
|
const script = [
|
|
675150
675150
|
"import sys",
|
|
675151
675151
|
"import warnings",
|
|
675152
|
-
"warnings.filterwarnings('ignore', message=r'
|
|
675152
|
+
"warnings.filterwarnings('ignore', message=r'.*TRANSFORMERS_CACHE.*deprecated.*', category=FutureWarning)",
|
|
675153
675153
|
`sys.path.insert(0, ${JSON.stringify(repoDir)})`,
|
|
675154
675154
|
"from zipvoice.luxvoice import LuxTTS",
|
|
675155
675155
|
"print('ok')"
|
|
@@ -678096,7 +678096,8 @@ Error: ${err instanceof Error ? err.message : String(err)}`
|
|
|
678096
678096
|
return;
|
|
678097
678097
|
} catch (err) {
|
|
678098
678098
|
existingRuntimeNeedsRepair = true;
|
|
678099
|
-
const
|
|
678099
|
+
const compactDetail = (err instanceof Error ? err.message : String(err)).replace(/\s+/g, " ").trim();
|
|
678100
|
+
const detail = compactDetail.length <= 460 ? compactDetail : `${compactDetail.slice(0, 180)} … ${compactDetail.slice(-260)}`;
|
|
678100
678101
|
renderWarning(
|
|
678101
678102
|
`LuxTTS runtime health check needs repair; preserving ${venvDir}. ${detail}`
|
|
678102
678103
|
);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.579",
|
|
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.579",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED