This commit is contained in:
Pascal
2026-05-15 00:02:37 +02:00
parent 4bf578ec7b
commit 5523143942
4 changed files with 9 additions and 12 deletions
+1 -2
View File
@@ -151,7 +151,6 @@ def main():
"--model", model_lm,
"--codec", model_cdc,
"--seed", str(args.seed),
"--text", text,
"--speaker", args.speaker,
"--lang", args.lang,
"--max-new", str(args.max_new_tokens),
@@ -162,7 +161,7 @@ def main():
if args.instruct:
cmd[-1:-1] = ["--instruct", args.instruct]
print(f"[GGML] Cmd: {' '.join(cmd)}")
r = subprocess.run(cmd)
r = subprocess.run(cmd, input=text, text=True)
if r.returncode != 0:
sys.exit(r.returncode)