omnius 1.0.809 → 1.0.810
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/api/py-embed.js +5 -1
- package/dist/index.js +2 -2
- package/dist/library.js +5 -2
- package/dist/update-worker.js +5 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/api/py-embed.js
CHANGED
|
@@ -294932,13 +294932,17 @@ except Exception as exc:
|
|
|
294932
294932
|
`;
|
|
294933
294933
|
var LUXTTS_DAEMON_PY = String.raw`
|
|
294934
294934
|
import json, os, sys, traceback, wave
|
|
294935
|
+
# OMNIUS_LUXTTS_CPU_ONLY_V1
|
|
294936
|
+
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
|
|
294937
|
+
os.environ["HIP_VISIBLE_DEVICES"] = "-1"
|
|
294938
|
+
os.environ["ROCR_VISIBLE_DEVICES"] = "-1"
|
|
294935
294939
|
import numpy as np
|
|
294936
294940
|
import torch
|
|
294937
294941
|
repo = os.environ.get("LUXTTS_REPO_PATH") or ""
|
|
294938
294942
|
if repo:
|
|
294939
294943
|
sys.path.insert(0, repo)
|
|
294940
294944
|
from zipvoice.luxvoice import LuxTTS
|
|
294941
|
-
device = "
|
|
294945
|
+
device = "cpu"
|
|
294942
294946
|
tts = LuxTTS(model_path="YatharthS/LuxTTS", device=device, threads=4)
|
|
294943
294947
|
print(json.dumps({"type": "ready", "device": device}), flush=True)
|
|
294944
294948
|
for line in sys.stdin:
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/index.js
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 41440515 bytes
|
|
4
|
+
sha256: 9640eabe6501fbee41cb81f68bfc7d1df8f5adc8e7ccabcb95ea1964421ef4d0
|
package/dist/library.js
CHANGED
|
@@ -296557,7 +296557,6 @@ var init_audio_playback = __esm({
|
|
|
296557
296557
|
init_model_store();
|
|
296558
296558
|
init_luxtts_runtime_contract();
|
|
296559
296559
|
init_python_cuda_runtime();
|
|
296560
|
-
init_python_cuda_runtime_async();
|
|
296561
296560
|
SUPERTONIC_INFER_PY = String.raw`
|
|
296562
296561
|
import json, sys, traceback
|
|
296563
296562
|
try:
|
|
@@ -296591,13 +296590,17 @@ except Exception as exc:
|
|
|
296591
296590
|
`;
|
|
296592
296591
|
LUXTTS_DAEMON_PY = String.raw`
|
|
296593
296592
|
import json, os, sys, traceback, wave
|
|
296593
|
+
# OMNIUS_LUXTTS_CPU_ONLY_V1
|
|
296594
|
+
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
|
|
296595
|
+
os.environ["HIP_VISIBLE_DEVICES"] = "-1"
|
|
296596
|
+
os.environ["ROCR_VISIBLE_DEVICES"] = "-1"
|
|
296594
296597
|
import numpy as np
|
|
296595
296598
|
import torch
|
|
296596
296599
|
repo = os.environ.get("LUXTTS_REPO_PATH") or ""
|
|
296597
296600
|
if repo:
|
|
296598
296601
|
sys.path.insert(0, repo)
|
|
296599
296602
|
from zipvoice.luxvoice import LuxTTS
|
|
296600
|
-
device = "
|
|
296603
|
+
device = "cpu"
|
|
296601
296604
|
tts = LuxTTS(model_path="YatharthS/LuxTTS", device=device, threads=4)
|
|
296602
296605
|
print(json.dumps({"type": "ready", "device": device}), flush=True)
|
|
296603
296606
|
for line in sys.stdin:
|
package/dist/update-worker.js
CHANGED
|
@@ -295366,13 +295366,17 @@ except Exception as exc:
|
|
|
295366
295366
|
`;
|
|
295367
295367
|
var LUXTTS_DAEMON_PY = String.raw`
|
|
295368
295368
|
import json, os, sys, traceback, wave
|
|
295369
|
+
# OMNIUS_LUXTTS_CPU_ONLY_V1
|
|
295370
|
+
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
|
|
295371
|
+
os.environ["HIP_VISIBLE_DEVICES"] = "-1"
|
|
295372
|
+
os.environ["ROCR_VISIBLE_DEVICES"] = "-1"
|
|
295369
295373
|
import numpy as np
|
|
295370
295374
|
import torch
|
|
295371
295375
|
repo = os.environ.get("LUXTTS_REPO_PATH") or ""
|
|
295372
295376
|
if repo:
|
|
295373
295377
|
sys.path.insert(0, repo)
|
|
295374
295378
|
from zipvoice.luxvoice import LuxTTS
|
|
295375
|
-
device = "
|
|
295379
|
+
device = "cpu"
|
|
295376
295380
|
tts = LuxTTS(model_path="YatharthS/LuxTTS", device=device, threads=4)
|
|
295377
295381
|
print(json.dumps({"type": "ready", "device": device}), flush=True)
|
|
295378
295382
|
for line in sys.stdin:
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.810",
|
|
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.810",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED